浏览代码

chore(config): 更新生产环境数据库连接配置

- 切换生产环境MySQL连接地址至阿里云RDS实例
- 更新数据库访问密码为生产环境凭证
- 移除本地测试服务器配置信息-保留多数据源配置注释信息feat(esign): 更新电子签名服务配置参数

- 替换e签宝应用ID和密钥为生产环境配置- 修改接口调用域名为正式环境地址- 移除模拟环境标识注释

fix(esign):修正机构授权印章查询参数

- 更新机构授权印章列表接口的默认机构ID
- 添加待办注释标记需接收授权印章账号参数
-保持原有业务逻辑处理流程不变
SheepHy 1 周之前
父节点
当前提交
be77405470

+ 4 - 4
national-motion-module-system/national-motion-system-biz/src/main/java/org/jeecg/modules/app/esign/constant/EsignDemoConfig.java

@@ -3,11 +3,11 @@ package org.jeecg.modules.app.esign.constant;
 public class EsignDemoConfig {
 public class EsignDemoConfig {
 
 
     // 应用ID
     // 应用ID
-    public static final String EsignAppId = "7439072990";
+    public static final String EsignAppId = "5112023921";
     // 应用密钥
     // 应用密钥
-    public static final String EsignAppSecret = "ce891a865bdd94d0081cae50f13739e4";
-    // e签宝接口调用域名(模拟环境)
-    public static final String EsignHost = "https://smlopenapi.esign.cn";
+    public static final String EsignAppSecret = "8d91c226deb7b5d9e3b080d56c6e194f";
+    // e签宝接口调用域名
+    public static final String EsignHost = "https://openapi.esign.cn";
 
 
     public static final String E_SIGN_NOTIFY_URL = "e_sign_notify_url";
     public static final String E_SIGN_NOTIFY_URL = "e_sign_notify_url";
 
 

+ 2 - 1
national-motion-module-system/national-motion-system-biz/src/main/java/org/jeecg/modules/app/service/impl/ESignServiceImpl.java

@@ -708,7 +708,8 @@ public class ESignServiceImpl implements IESignService {
 
 
     public String orgAuthorizedSeal(String orgId) throws EsignDemoException {
     public String orgAuthorizedSeal(String orgId) throws EsignDemoException {
         // 使用传入的 orgId
         // 使用传入的 orgId
-        EsignHttpResponse orgAuthorizedSealList = orgAuthorizedSealList("585f3eabc65b42b1ad5ae56f4e2bdde6");
+        //todo 接收授权印章账号
+        EsignHttpResponse orgAuthorizedSealList = orgAuthorizedSealList("1b13092f2fdf487e9ef784136db73b1d");
         JsonObject orgAuthorizedSealListObject = gson.fromJson(orgAuthorizedSealList.getBody(), JsonObject.class);
         JsonObject orgAuthorizedSealListObject = gson.fromJson(orgAuthorizedSealList.getBody(), JsonObject.class);
 
 
         // 检查 data.seals 是否存在
         // 检查 data.seals 是否存在

+ 2 - 5
national-motion-module-system/national-motion-system-start/src/main/resources/application-prod.yml

@@ -162,12 +162,9 @@ spring:
           #          url: jdbc:mysql://192.168.110.241:3306/national_motion?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
           #          url: jdbc:mysql://192.168.110.241:3306/national_motion?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
           #          username: root
           #          username: root
           #          password: c7ix0bJv2GvyhbkRw6
           #          password: c7ix0bJv2GvyhbkRw6
-#          url: jdbc:mysql://rm-bp15g68z8j527q9n9xo.mysql.rds.aliyuncs.com:3306/national_motion?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
-#          username: root
-#          password: BXyzm3RKR2nA9vn5ZkeP!
-          url: jdbc:mysql://47.109.67.112:3306/national_motion?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
+          url: jdbc:mysql://rm-bp15g68z8j527q9n9xo.mysql.rds.aliyuncs.com:3306/national_motion?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
           username: root
           username: root
-          password: TtbTeGJBnDvH4hMx
+          password: BXyzm3RKR2nA9vn5ZkeP!
           # 多数据源配置
           # 多数据源配置
           #multi-datasource1:
           #multi-datasource1:
           #url: jdbc:mysql://localhost:3306/jeecg-boot2?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
           #url: jdbc:mysql://localhost:3306/jeecg-boot2?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai