yjwang hace 1 semana
padre
commit
7e7de939a3

+ 14 - 9
fs-service/src/main/resources/application-config-druid-bnkc.yml

@@ -22,14 +22,14 @@ wx:
         secret: N3S6FsLjcbBFnLJ4zlHEqwKy1SbWvBi43vWacuGM89k
         token: PPKOdAlCoMO
         aesKey: PKvaxtpSv8NGpfTDm7VUHIK8Wok2ESyYX24qpXJAdMP
-#  pay:
-#    appId:  #微信公众号或者小程序等的appid
-#    mchId:  #微信支付商户号
-#    mchKey:  #微信支付商户密钥
-#    subAppId:  #服务商模式下的子商户公众账号ID
-#    subMchId:  #服务商模式下的子商户号
-#    keyPath: c:\\cert\\apiclient_cert.p12 # p12证书的位置,可以指定绝对路径,也可以指定类路径(以classpath:开头)
-#    notifyUrl: https://userapp.his.runtzh.com/app/wxpay/wxPayNotify
+  #  pay:
+  #    appId:  #微信公众号或者小程序等的appid
+  #    mchId:  #微信支付商户号
+  #    mchKey:  #微信支付商户密钥
+  #    subAppId:  #服务商模式下的子商户公众账号ID
+  #    subMchId:  #服务商模式下的子商户号
+  #    keyPath: c:\\cert\\apiclient_cert.p12 # p12证书的位置,可以指定绝对路径,也可以指定类路径(以classpath:开头)
+  #    notifyUrl: https://userapp.his.runtzh.com/app/wxpay/wxPayNotify
   mp:
     useRedis: false
     redisConfig:
@@ -55,6 +55,12 @@ watch:
   password3: v9xsKuqn_$d2y
 
 fs :
+  jwt:
+    # 加密秘钥
+    secret: 8d1e6a2f0d579f86b67cde581c0f9eb5
+    # token有效时长,7天,单位秒
+    expire: 31536000
+    header: AppToken
   commonApi: http://127.0.0.1:7771
   h5CommonApi: http://127.0.0.1:7771
 nuonuo:
@@ -90,4 +96,3 @@ wx_miniapp_temp:
   pay_order_temp_id:
   inquiry_temp_id:
 
-

+ 13 - 13
fs-service/src/main/resources/application-druid-bnkc.yml

@@ -23,25 +23,25 @@ spring:
                 # #连接池最大阻塞等待时间(使用负值表示没有限制)
                 max-wait: -1ms
     datasource:
-#        clickhouse:
-#            type: com.alibaba.druid.pool.DruidDataSource
-#            driverClassName: com.clickhouse.jdbc.ClickHouseDriver
-#            url: jdbc:clickhouse://1.14.104.71:8123/sop_test?compress=0&use_server_time_zone=true&use_client_time_zone=false&timezone=Asia/Shanghai
-#            username: rt_2024
-#            password: Yzx_19860213
-#            initialSize: 10
-#            maxActive: 100
-#            minIdle: 10
-#            maxWait: 6000
+        #        clickhouse:
+        #            type: com.alibaba.druid.pool.DruidDataSource
+        #            driverClassName: com.clickhouse.jdbc.ClickHouseDriver
+        #            url: jdbc:clickhouse://1.14.104.71:8123/sop_test?compress=0&use_server_time_zone=true&use_client_time_zone=false&timezone=Asia/Shanghai
+        #            username: rt_2024
+        #            password: Yzx_19860213
+        #            initialSize: 10
+        #            maxActive: 100
+        #            minIdle: 10
+        #            maxWait: 6000
         mysql:
             type: com.alibaba.druid.pool.DruidDataSource
             driverClassName: com.mysql.cj.jdbc.Driver
             druid:
                 # 主库数据源
                 master:
-                  url: jdbc:mysql://10.206.0.15:3306/fs_his?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
-                  username: root
-                  password: Ylrz_1q2w3e4r5t6y
+                    url: jdbc:mysql://10.206.0.15:3306/fs_his?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
+                    username: root
+                    password: Ylrz_1q2w3e4r5t6y
                 # 从库数据源
                 slave:
                     # 从数据源开关/默认关闭