From 9af6657ee58f9fbaf17cf12a59244efd2fc92a84 Mon Sep 17 00:00:00 2001
From: xin <1099200748@qq.com>
Date: Mon, 22 Sep 2025 12:55:57 +0800
Subject: [PATCH] 生产环境打包配置环境-prod
---
oying-system/src/main/resources/config/application-prod.yml | 16 +++++++++-------
1 files changed, 9 insertions(+), 7 deletions(-)
diff --git a/oying-system/src/main/resources/config/application-prod.yml b/oying-system/src/main/resources/config/application-prod.yml
index 92ff604..cbb66cf 100644
--- a/oying-system/src/main/resources/config/application-prod.yml
+++ b/oying-system/src/main/resources/config/application-prod.yml
@@ -4,9 +4,9 @@
druid:
db-type: com.alibaba.druid.pool.DruidDataSource
driverClassName: com.mysql.cj.jdbc.Driver
- url: jdbc:mysql://${DB_HOST:localhost}:${DB_PORT:3306}/${DB_NAME:oying}?serverTimezone=Asia/Shanghai&characterEncoding=utf8&useSSL=false
- username: ${DB_USER:root}
- password: ${DB_PWD:123456}
+ url: jdbc:mysql://${DB_HOST:192.168.0.5}:${DB_PORT:3306}/${DB_NAME:oying}?serverTimezone=Asia/Shanghai&characterEncoding=utf8&useSSL=false
+ username: ${DB_USER:oydbroot}
+ password: ${DB_PWD:Ly123456@(^)9}
# 初始连接数,建议设置为与最小空闲连接数相同
initial-size: 20
# 最小空闲连接数,保持足够的空闲连接以应对请求
@@ -164,7 +164,7 @@
# 汇旺财
swift-pass:
# 密钥
- key: vJB6683s4NtQtXBgHTvE1hWOUtcre7nj
+ key: s7Jf1eEM5QlxihWSxZh673pDhGY7p0s0
# 密钥2
key-2: s7Jf1eEM5QlxihWSxZh673pDhGY7p0s0
# 私钥
@@ -172,7 +172,7 @@
# 公钥
plat-public-key: MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtmDbhqkgBXCFTnPZp5iG51X0KMsjAaMhqkw923osv1LF2axheDiKzxHr8F58B5LVEbqYxwCr7fdjy+C/cE8+3JJ2kJBdDR+bGjnWN7C/PMR+xd6koCMBz75EYpXhXhB8fqSp1wZrPMopYg6j5NDFd4kUaFyoUZ6I61gGCYcs/tYidd6llwlnKa/YX++1Lv69Te8LCSjeGe+TNqkAui4EU2h6Aa6CxlbZXeDzN9HnuqPUUfMohVceBQ1bpIpxkdeZ07KzYfrFMd6YlV6mK6tt1D41FlbSZX/XBL3zVVwjLGu9SxhM1JdM8Q33sl0UIXpdxNu6dqKLxGL4ZebPqWYbVwIDAQAB
# 门店编号
- mch-id: 1030238092
+ mch-id: 1030238093
# 门店编号2
mch-id-2: 1030238093
# 签名方式
@@ -184,11 +184,13 @@
# 请求url
req-url: https://pay.hstypay.com/v2/pay/gateway
# 支付通知地址
- notify-url: http://1.95.124.88:8088/api/swiftPass/alipayCallback
+ notify-url: https://o-ying.cn/oying/api/swiftPass/alipayCallback
# 退款通知地址
- refund-url: http://1.95.124.88:8088/api/swiftPass/returnNotify
+ refund-url: https://o-ying.cn/oying/api/swiftPass/returnNotify
obs:
+ # 测试环境
+ enabled: false
access_key_id: RZ1UIOZDZ58DD4NWPD6Q
access_key_secret: QpE58YEFtgoIwUoGNlN5JlNY7t6qVu7vMkix8gAI
bucket: oying
--
Gitblit v1.9.3