From 84e8be6264c5f8194067680f7361df029e46892a Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Sun, 14 Jun 2026 17:15:38 +0800
Subject: [PATCH] refactor(goods): 移除商品更新页面中的冗余代码

---
 src/main/resources/application-test.yml |   49 +++++++++++++++++++++++++++++++------------------
 1 files changed, 31 insertions(+), 18 deletions(-)

diff --git a/src/main/resources/application-test.yml b/src/main/resources/application-test.yml
index f1ee315..d46a052 100644
--- a/src/main/resources/application-test.yml
+++ b/src/main/resources/application-test.yml
@@ -2,33 +2,35 @@
   datasource:
     dynamic:
       # 是否开启 SQL日志输出,生产环境建议关闭,有性能损耗
-      p6spy: true
+      p6spy: false
       hikari:
         connection-timeout: 30000
-        max-lifetime: 1800000
+        max-lifetime: 1200000
         max-pool-size: 15
         min-idle: 5
         connection-test-query: select 1
         pool-name: FebsHikariCP
+        idle-timeout: 300000
+        keepaliveTime: 30000
       # 配置默认数据源
       primary: base
       datasource:
         # 数据源-1,名称为 base
         base:
-          username: db_blnka
-          password: blnka!@#123
+          username: db_e2
+          password: db_e20806123!@#
           driver-class-name: com.mysql.cj.jdbc.Driver
-          url: jdbc:mysql://121.37.162.173:3306/db_mall_qianayi?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2b8
+          url: jdbc:mysql://120.27.238.55:3406/db_e2?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2b8
 
   redis:
     # Redis数据库索引(默认为 0)
     database: 10
     # Redis服务器地址
-    host: 127.0.0.1
+    host: 120.27.238.55
     # Redis服务器连接端口
-    port: 6379
+    port: 6479
     # Redis 密码
-    password: d32ncxe@i3#!dV
+    password: d3y6dsdl;f.327
     lettuce:
       pool:
         # 连接池中的最小空闲连接
@@ -40,7 +42,7 @@
         # 连接池最大阻塞等待时间(使用负值表示没有限制)
         max-wait: 10000
     # 连接超时时间(毫秒)
-    timeout: 5000
+    timeout: 500000
   rabbitmq:
     host: 120.27.238.55
     port: 5672
@@ -70,16 +72,27 @@
 #  wecharpaySecret: CSxc168888CSxc168888CSxc168888xc
 xcx:
   wechar_login_url: https://api.weixin.qq.com/sns/jscode2session?appid=%s&secret=%s&js_code=%s&grant_type=authorization_code
-  xcx_appid: wx2948b3b914a9722e
-  xcx_secret: 1685dfd99a43e213ed8be07870b898ba
-  debug: false
-  wecharPaynotifyUrl: http://groupbuy.csxuncong.com/api/xcxPay/wxpayCallback
-  wecharRechargePaynotifyUrl: http://groupbuy.csxuncong.com/api/xcxPay/rechargeCallBack
-  certLocalPath: /home/yyscCert/apiclient_cert.p12
-  wecharpayMchid: 1631084809
-  wecharpaySecret: YYSC13875978057YYSC13875978057SH
+  xcx_appid: wxad2fdb2fcad10fb2
+  xcx_secret: 9bb58d655bff419feec3a6d948ca8b8d
+  debug: true
+  wecharPaynotifyUrl: http://blnka.csxuncong.com/api/xcxPay/wxpayCallback
+  wecharRechargePaynotifyUrl: http://blnka.csxuncong.com/api/xcxPay/rechargeCallBack
+  certLocalPath: /home/blnkaCert/apiclient_cert.p12
+  wecharpayMchid: 1658958205
+  wecharpaySecret: daL341aN5orDt13puXadsAf2rpuXdq4r
+  wecharpaySecretV3: daL341aN5orDt13puXadsAf2rpuX12v3
   gaodeKey: 95ede7157929f5f6b6c758971be924b1
   serviceName: yiyuanshucai
 
+#static:
+#  resource:
+#    url: https://res.mye2u.com/
+#    path: /home/javaweb/resource/
+
+static:
+  resource:
+    url: http://120.27.238.55:30001/productImg/
+    path: /home/javaweb/webresource/ds/productImg/
+
 system:
-  job: false
\ No newline at end of file
+  job: true
\ No newline at end of file

--
Gitblit v1.9.1