2
0

feat: adjust nacos config yaml

This commit is contained in:
zhangsz
2024-12-31 19:51:59 +08:00
parent 8b39b00e3c
commit d6a2d26811
15 changed files with 135 additions and 99 deletions

View File

@@ -6,7 +6,7 @@ spring:
nacos:
discovery:
server-addr: ${NACOS_SERVER_ADDR:wfc-nacos}:${NACOS_SERVER_PORT:8848}
namespace: ${NACOS_NAMESPACE:wfc-prod}
namespace: ${NACOS_NAME_SPACE:wfc-prod}
main:
allow-bean-definition-overriding: true
@@ -64,9 +64,9 @@ mybatis-plus:
logic-delete-value: 1
logic-not-delete-value: 0
# swagger配置
# swagger configuration
swagger:
title: 系统模块接口文档
title: payment modules api
license: Powered By wfc
licenseUrl: https://wfc.vip
@@ -92,7 +92,7 @@ wxpay:
mchKey: 1525342aa
subAppId: #服务商模式下的子商户公众账号ID
subMchId: #服务商模式下的子商户号
keyPath: /opt/wfc/config/payment/wxpay_key.pem
keyPath: /opt/wfc/conf/wxpay/wxpay_key.pem
useSandboxEnv: false
alipay:
@@ -104,7 +104,7 @@ alipay:
signType: RSA2
charset: utf-8
gatewayUrl: https://openapi.alipaydev.com/gateway.do
logPath: /opt/wfc/config/payment/alipay_log.txt
logPath: /opt/wfc/logs/alipay/alipay_log.txt
maxQueryRetry: 5
queryDuration: 5
maxCancelRetry: 3
@@ -118,8 +118,8 @@ alipay:
ccpay:
url: https://api.paymentgateway.com/v1/payments
apiKey: your-api-key
merchantId: your-merchant-id
apiKey: api-key
merchantId: merchant-id
currency: USD
timeout: 30
callbackUrl: https://yourdomain.com/payment/callback
callbackUrl: https://wfc-gateway:${GATEWAY_SERVER_PORT:8080}/payment/callback