jinshihui il y a 1 jour
Parent
commit
c1c777bbc6

+ 6 - 8
nightFragrance-admin/src/main/resources/application-dev.yml

@@ -56,9 +56,9 @@ spring:
     driverClassName: com.mysql.cj.jdbc.Driver
     druid:
       master:
-        url: jdbc:mysql://39.98.239.48:3366/night_fragrance?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
-        username: root
-        password: '@RqGHG#KZ*C9ytkQ'
+        url: jdbc:mysql://rm-d7q5a6qathaxdzhw.mysql.zhangbei.rds.aliyuncs.com:3306/night_fragrance?serverTimezone=Asia/Shanghai&allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&rewriteBatchedStatements=true
+        username: sxzgkj
+        password: 'Iy$@$koH@oURxyvw'
       slave:
         # 从数据源开关/默认关闭
         enabled: false
@@ -226,14 +226,12 @@ wx:
 
   # 微信公众号
 wechat:
-#  mpAppId: wxa408092ddcec15b8
-#  mpAppSecret: 3d0953e32e84180b945ace15050365c6
-  mpAppId: wxa72f643173a90106
-  mpAppSecret: 6ceb4647506a4f1654bb10773b227357
+  mpAppId: wx9dc677bd41e82569
+  mpAppSecret: 346ed2d83c0cab7816c73a1df2e04df3
   # 获取code
   get-code-url: https://open.weixin.qq.com/connect/oauth2/authorize
   # 回调地址
-  redirect-url: http://7tjvt8639914.vicp.fun/sq/getAccessToken
+  redirect-url: https://city.baoxianzhanggui.com/nightFragrance/sq/getAccessToken
   access-token-url: https://api.weixin.qq.com/sns/oauth2/access_token
   # 消息模版ID
   template-id-1: HU2LfMIes91Au9kxR3VEoNYuMayxZoPNsFRfWNCmKrQ

+ 4 - 7
nightFragrance-admin/src/main/resources/application-pro.yml

@@ -210,13 +210,12 @@ wx:
   app-secret: 28504227c2662cfb1b39a5baf750bb59
 
   # 商户号
-  # mch-id: 1675015090
   mch-id: 1716293620
 
   # 商户秘钥
   #mch-key: 39C9AIJ1RQKT3I8V16BYZ6LLBI0H30NB
   mch-key: 29138927a706e34282df802feacfc18r
-  # 异步回调地址
+  # 微信支付异步回调地址
   notify-url: https://city.baoxianzhanggui.com/nightFragrance/wx/pay/payNotify
   # 异步退款回调地址
   refund-Notify: https://city.baoxianzhanggui.com/nightFragrance/wx/pay/refundNotify
@@ -234,11 +233,8 @@ wx:
   #通知类型2
   wx.miniapp.msg.template_id_2: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
 
-  # 微信公众
+  # 微信服务
 wechat:
-
-  # mpAppId: wxa72f643173a90106
-  # mpAppSecret: 6ceb4647506a4f1654bb10773b227357
   # 广誉源
   mpAppId: wx9dc677bd41e82569
   mpAppSecret: 346ed2d83c0cab7816c73a1df2e04df3
@@ -266,7 +262,7 @@ xss:
 
 # FFmpeg 配置
 ffmpeg:
-  # FFmpeg 可执行文件路径(Windows 下需要使用 .exe 扩展名
+  # FFmpeg 可执行文件路径(linux路径下面的配置
   path: ffmpeg
   # 是否启用Docker模式(Linux服务器环境设置为true)
   docker-enabled: false
@@ -276,3 +272,4 @@ ffmpeg:
   container-work-dir: /data
   # 宿主机路径映射(Docker volume映射的源路径)
   host-volume-path: /usr/local/java/nightFragrance/uploadPath
+