fix: 支付模块调整
This commit is contained in:
@@ -1,14 +1,5 @@
|
||||
# spring配置
|
||||
spring:
|
||||
application:
|
||||
name: wfc-payment
|
||||
cloud:
|
||||
nacos:
|
||||
discovery:
|
||||
server-addr: ${NACOS_SERVER_ADDR:wfc-nacos}:${NACOS_SERVER_PORT:8848}
|
||||
namespace: ${NACOS_NAME_SPACE:wfc-prod}
|
||||
main:
|
||||
allow-bean-definition-overriding: true
|
||||
|
||||
redis:
|
||||
host: wfc-redis
|
||||
@@ -55,7 +46,7 @@ spring:
|
||||
# mybatis-plus配置
|
||||
mybatis-plus:
|
||||
# 搜索指定包别名
|
||||
type-aliases-package: org.wfc.payment.*.model
|
||||
type-aliases-package: org.wfc.payment
|
||||
# 配置mapper的扫描,找到所有的mapper.xml映射文件
|
||||
mapper-locations: classpath:mapper/**/*.xml
|
||||
global-config:
|
||||
@@ -64,92 +55,76 @@ mybatis-plus:
|
||||
logic-delete-value: 1
|
||||
logic-not-delete-value: 0
|
||||
|
||||
# swagger configuration
|
||||
swagger:
|
||||
title: payment modules api
|
||||
license: Powered By wfc
|
||||
licenseUrl: https://wfc.vip
|
||||
|
||||
logging:
|
||||
level:
|
||||
root: info
|
||||
org.springframework.web: info
|
||||
org.mybatis.mapper: debug
|
||||
com.github.binarywang: debug
|
||||
org.wfc.payment.wxpay: debug
|
||||
org.wfc.payment.alipay: debug
|
||||
org.wfc.payment.ccpay: debug
|
||||
|
||||
wxpay:
|
||||
appId: 121412414112
|
||||
mchId: 1131412414
|
||||
mchKey: 1525342aa
|
||||
subAppId: #服务商模式下的子商户公众账号ID
|
||||
subMchId: #服务商模式下的子商户号
|
||||
keyPath: /opt/wfc/conf/wxpay/wxpay_key.pem
|
||||
useSandboxEnv: false
|
||||
appId: 121412414112
|
||||
mchId: 1131412414
|
||||
mchKey: 1525342aa
|
||||
subAppId: #服务商模式下的子商户公众账号ID
|
||||
subMchId: #服务商模式下的子商户号
|
||||
keyPath: /opt/wfc/conf/wxpay/wxpay_key.pem
|
||||
useSandboxEnv: false
|
||||
|
||||
alipay:
|
||||
appId: 121412414112
|
||||
privateKey: 1131412414
|
||||
publicKey: 1525342aa
|
||||
notifyUrl: http://wfc-gateway:${GATEWAY_SERVER_PORT:8080}/alipay/notify
|
||||
returnUrl: http://wfc-gateway:${GATEWAY_SERVER_PORT:8080}/alipay/return
|
||||
signType: RSA2
|
||||
charset: utf-8
|
||||
gatewayUrl: https://openapi.alipaydev.com/gateway.do
|
||||
logPath: /opt/wfc/logs/alipay/alipay.log
|
||||
maxQueryRetry: 5
|
||||
queryDuration: 5
|
||||
maxCancelRetry: 3
|
||||
cancelDuration: 2
|
||||
heartbeatDelay: 5
|
||||
heartbeatDuration: 5
|
||||
storeId:
|
||||
storeName:
|
||||
supportEmail:
|
||||
supportPhone:
|
||||
appId: 121412414112
|
||||
privateKey: 1131412414
|
||||
publicKey: 1525342aa
|
||||
notifyUrl: http://wfc-gateway:${GATEWAY_SERVER_PORT:8080}/alipay/notify
|
||||
returnUrl: http://wfc-gateway:${GATEWAY_SERVER_PORT:8080}/alipay/return
|
||||
signType: RSA2
|
||||
charset: utf-8
|
||||
gatewayUrl: https://openapi.alipaydev.com/gateway.do
|
||||
logPath: /opt/wfc/logs/alipay/alipay.log
|
||||
maxQueryRetry: 5
|
||||
queryDuration: 5
|
||||
maxCancelRetry: 3
|
||||
cancelDuration: 2
|
||||
heartbeatDelay: 5
|
||||
heartbeatDuration: 5
|
||||
storeId:
|
||||
storeName:
|
||||
supportEmail:
|
||||
supportPhone:
|
||||
|
||||
ccpay:
|
||||
paymentUrl: https://api.paymentgateway.com/v1/payment
|
||||
tokenUrl: https://api.paymentgateway.com/v1/token
|
||||
queryUrl: https://api.paymentgateway.com/v1/query
|
||||
refundUrl: https://api.paymentgateway.com/v1/refund
|
||||
apiKey: api-key
|
||||
merchantId: merchant-id
|
||||
currency: USD
|
||||
timeout: 30
|
||||
callbackUrl: https://wfc-gateway:${GATEWAY_SERVER_PORT:8080}/payment/callback
|
||||
paymentUrl: https://api.paymentgateway.com/v1/payment
|
||||
tokenUrl: https://api.paymentgateway.com/v1/token
|
||||
queryUrl: https://api.paymentgateway.com/v1/query
|
||||
refundUrl: https://api.paymentgateway.com/v1/refund
|
||||
apiKey: api-key
|
||||
merchantId: merchant-id
|
||||
currency: USD
|
||||
timeout: 30
|
||||
callbackUrl: https://wfc-gateway:${GATEWAY_SERVER_PORT:8080}/payment/callback
|
||||
|
||||
unionpay:
|
||||
merId: 700000000000001
|
||||
keyPrivateCert: /opt/wfc/conf/cert/unionpay/wfc-union.pfx
|
||||
keyPrivateCertPwd: 123456
|
||||
signCertType: PKCS12
|
||||
encryptCertPath: /opt/wfc/conf/cert/unionpay/wfc-union.cer
|
||||
acpMiddleCert: /opt/wfc/conf/cert/unionpay/wfc-middle.cer
|
||||
acpRootCert: /opt/wfc/conf/cert/unionpay/wfc-root.cer
|
||||
frontUrl: https://gateway.test.95516.com/gateway/api/frontTransReq.do
|
||||
backUrl: http://wfc-gateway:${GATEWAY_SERVER_PORT:8080}/unionpay/notify
|
||||
signMethod: 01
|
||||
version: 5.1.0
|
||||
channelType: 07
|
||||
accessType: 0
|
||||
currencyCode: 156
|
||||
bizType: 000201
|
||||
txnType: 01
|
||||
txnSubType: 01
|
||||
payTimeout: 30
|
||||
queryTimeout: 30
|
||||
refundTimeout: 30
|
||||
frontFailUrl: http://wfc-gateway:${GATEWAY_SERVER_PORT:8080}/unionpay/fail
|
||||
frontSuccessUrl: http://wfc-gateway:${GATEWAY_SERVER_PORT:8080}/unionpay/success
|
||||
frontBackUrl: http://wfc-gateway:${GATEWAY_SERVER_PORT:8080}/unionpay/front
|
||||
backBackUrl: http://wfc-gateway:${GATEWAY_SERVER_PORT:8080}/unionpay/back
|
||||
frontNotifyUrl: http://wfc-gateway:${GATEWAY_SERVER_PORT:8080}/unionpay/front/notify
|
||||
backNotifyUrl: http://wfc-gateway:${GATEWAY_SERVER_PORT:8080}/unionpay/back/notify
|
||||
refundNotifyUrl: http://wfc-gateway:${GATEWAY_SERVER_PORT:8080}/unionpay/refund/notify
|
||||
queryNotifyUrl: http://wfc-gateway:${GATEWAY_SERVER_PORT:8080}/unionpay/query/notify
|
||||
refundSuccessUrl: http://wfc-gateway:${GATEWAY_SERVER_PORT:8080}/unionpay/refund/success
|
||||
refundFailUrl: http://wfc-gateway:${GATEWAY_SERVER_PORT:8080}/unionpay/refund/fail
|
||||
querySuccessUrl:
|
||||
merId: 700000000000001
|
||||
keyPrivateCert: /opt/wfc/conf/cert/unionpay/wfc-union.pfx
|
||||
keyPrivateCertPwd: 123456
|
||||
signCertType: PKCS12
|
||||
encryptCertPath: /opt/wfc/conf/cert/unionpay/wfc-union.cer
|
||||
acpMiddleCert: /opt/wfc/conf/cert/unionpay/wfc-middle.cer
|
||||
acpRootCert: /opt/wfc/conf/cert/unionpay/wfc-root.cer
|
||||
frontUrl: https://gateway.test.95516.com/gateway/api/frontTransReq.do
|
||||
backUrl: http://wfc-gateway:${GATEWAY_SERVER_PORT:8080}/unionpay/notify
|
||||
signMethod: 01
|
||||
version: 5.1.0
|
||||
channelType: 07
|
||||
accessType: 0
|
||||
currencyCode: 156
|
||||
bizType: 000201
|
||||
txnType: 01
|
||||
txnSubType: 01
|
||||
payTimeout: 30
|
||||
queryTimeout: 30
|
||||
refundTimeout: 30
|
||||
frontFailUrl: http://wfc-gateway:${GATEWAY_SERVER_PORT:8080}/unionpay/fail
|
||||
frontSuccessUrl: http://wfc-gateway:${GATEWAY_SERVER_PORT:8080}/unionpay/success
|
||||
frontBackUrl: http://wfc-gateway:${GATEWAY_SERVER_PORT:8080}/unionpay/front
|
||||
backBackUrl: http://wfc-gateway:${GATEWAY_SERVER_PORT:8080}/unionpay/back
|
||||
frontNotifyUrl: http://wfc-gateway:${GATEWAY_SERVER_PORT:8080}/unionpay/front/notify
|
||||
backNotifyUrl: http://wfc-gateway:${GATEWAY_SERVER_PORT:8080}/unionpay/back/notify
|
||||
refundNotifyUrl: http://wfc-gateway:${GATEWAY_SERVER_PORT:8080}/unionpay/refund/notify
|
||||
queryNotifyUrl: http://wfc-gateway:${GATEWAY_SERVER_PORT:8080}/unionpay/query/notify
|
||||
refundSuccessUrl: http://wfc-gateway:${GATEWAY_SERVER_PORT:8080}/unionpay/refund/success
|
||||
refundFailUrl: http://wfc-gateway:${GATEWAY_SERVER_PORT:8080}/unionpay/refund/fail
|
||||
querySuccessUrl:
|
||||
Reference in New Issue
Block a user