浏览代码

feat(密码):密码加密

liutao 8 月之前
父节点
当前提交
fd4c929a2a
共有 2 个文件被更改,包括 10 次插入1 次删除
  1. 1 1
      src/main/resources/application-prod.yml
  2. 9 0
      src/main/resources/data/update/v1.0/20231117liutao.sql

+ 1 - 1
src/main/resources/application-prod.yml

@@ -22,7 +22,7 @@ spring:
     master:
       continueOnError: true
       type: com.alibaba.druid.pool.DruidDataSource
-      url: jdbc:mysql://localhost:3306/factoring_trade_online?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai&rewriteBatchedStatements=true
+      url: jdbc:mysql://localhost:3306/factoring_trade_v4?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai&rewriteBatchedStatements=true
       username: root
       password: factoring_trade_20121210
       driver-class-name: com.mysql.jdbc.Driver

+ 9 - 0
src/main/resources/data/update/v1.0/20231117liutao.sql

@@ -1298,3 +1298,12 @@ VALUES ( 145, 'button', '下载报告', 'downloadProjectReport', 1, '项目授
 INSERT INTO `t_permission`( `parentId`, `type`, `cname`, `ename`, `gradation`, `moduleName`, `url`, `icon`, `user_create`, `user_modified`, `gmt_create`, `gmt_modified`)
 VALUES ( 149, 'button', '下载报告', 'downloadSupplierInfoReport', 1, '供应商授信管理', '/supplier/downloadSupplierInfoReport', NULL, NULL, NULL,  now(), now());
 
+INSERT INTO `t_permission`( `parentId`, `type`, `cname`, `ename`, `gradation`, `moduleName`, `url`, `icon`, `user_create`, `user_modified`, `gmt_create`, `gmt_modified`)
+VALUES ( 145, 'button', '查看', 'viewProject', 2, '项目授信管理', '/project/viewProject', NULL, NULL, NULL, now(), now());
+
+INSERT INTO `t_permission`( `parentId`, `type`, `cname`, `ename`, `gradation`, `moduleName`, `url`, `icon`, `user_create`, `user_modified`, `gmt_create`, `gmt_modified`)
+VALUES ( 149, 'button', '查看', 'viewSupplierInfo', 2, '供应商授信管理', '/supplier/viewSupplierInfo', NULL, NULL, NULL,  now(), now());
+
+INSERT INTO `t_permission`(`parentId`, `type`, `cname`, `ename`, `gradation`, `moduleName`, `url`, `icon`, `user_create`, `user_modified`, `gmt_create`, `gmt_modified`)
+VALUES (143, 'button', '查看', 'viewCreditResolution', 1, '授信决议管理', '/credit/resolution/viewCreditResolution', NULL, NULL, NULL,  now(), now());
+