记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
董敬伟
liquidnet-bus-v1
Commits
97b35e40
Commit
97b35e40
authored
Nov 08, 2021
by
anjiabin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交unionpay代码
parent
70db7894
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
68 additions
and
1 deletion
+68
-1
liquidnet-service-dragon-dev.yml
...-config/liquidnet-config/liquidnet-service-dragon-dev.yml
+2
-0
liquidnet-service-dragon.yml
...-bus-config/liquidnet-config/liquidnet-service-dragon.yml
+66
-1
No files found.
liquidnet-bus-config/liquidnet-config/liquidnet-service-dragon-dev.yml
View file @
97b35e40
...
@@ -34,4 +34,6 @@ liquidnet:
...
@@ -34,4 +34,6 @@ liquidnet:
merchantId
:
1551961491
merchantId
:
1551961491
appId
:
wx3498304dda39c5a1
appId
:
wx3498304dda39c5a1
partnerKey
:
itIuO65O9yKmemOu3S8g1S4orqvCGwXK
partnerKey
:
itIuO65O9yKmemOu3S8g1S4orqvCGwXK
unionpay
:
gateway-url
:
https://gateway.test.95516.comm
liquidnet-bus-config/liquidnet-config/liquidnet-service-dragon.yml
View file @
97b35e40
...
@@ -68,7 +68,10 @@ spring:
...
@@ -68,7 +68,10 @@ spring:
max-file-size
:
5MB
max-file-size
:
5MB
max-request-size
:
10MB
max-request-size
:
10MB
profiles
:
profiles
:
include
:
common-service
#这里加载management相关公共配置
include
:
-
common-service
#这里加载management相关公共配置
-
${liquidnet.info.name}-unionpay
#加载银联相关配置
autoconfigure
:
autoconfigure
:
exclude
:
exclude
:
-
org.springframework.cloud.bus.BusAutoConfiguration
-
org.springframework.cloud.bus.BusAutoConfiguration
...
@@ -151,7 +154,69 @@ global-auth:
...
@@ -151,7 +154,69 @@ global-auth:
-
${liquidnet.info.context}/performance/*
-
${liquidnet.info.context}/performance/*
# -----------------------------------------------------------
# -----------------------------------------------------------
# ---------------------以下为银联支付--------------------------------------
##交易请求地址
acpsdk
:
frontTransUrl
:
${liquidnet.dragon.unionpay.gateway-url}/gateway/api/frontTransReq.do
backTransUrl
:
${liquidnet.dragon.unionpay.gateway-url}/gateway/api/backTransReq.do
singleQueryUrl
:
${liquidnet.dragon.unionpay.gateway-url}/gateway/api/queryTrans.do
batchTransUrl
:
${liquidnet.dragon.unionpay.gateway-url}/gateway/api/batchTrans.do
fileTransUrl
:
https://filedownload.test.95516.com/
appTransUrl
:
${liquidnet.dragon.unionpay.gateway-url}/gateway/api/appTransReq.do
cardTransUrl
:
${liquidnet.dragon.unionpay.gateway-url}/gateway/api/cardTransReq.do
#以下缴费产品使用,其余产品用不到
jfFrontTransUrl
:
${liquidnet.dragon.unionpay.gateway-url}/jiaofei/api/frontTransReq.do
jfBackTransUrl
:
${liquidnet.dragon.unionpay.gateway-url}/jiaofei/api/backTransReq.do
jfSingleQueryUrl
:
${liquidnet.dragon.unionpay.gateway-url}/jiaofei/api/queryTrans.do
jfCardTransUrl
:
${liquidnet.dragon.unionpay.gateway-url}/jiaofei/api/cardTransReq.do
jfAppTransUrl
:
${liquidnet.dragon.unionpay.gateway-url}/jiaofei/api/appTransReq.do
########################################################################
# 报文版本号,固定5.1.0,请勿改动
version
:
5.1.0
# 签名方式,证书方式固定01,请勿改动
signMethod
:
01
# 是否验证验签证书的CN,测试环境请设置false,生产环境请设置true。非false的值默认都当true处理。
ifValidateCNName
:
false
# 是否验证https证书,测试环境请设置false,生产环境建议优先尝试true,不行再false。非true的值默认都当false处理。
ifValidateRemoteCert
:
false
#后台通知地址,填写接收银联后台通知的地址,必须外网能访问
backUrl
:
http://222.222.222.222:8080/ACPSample_AppServer/backRcvResponse
#前台通知地址,填写处理银联前台通知的地址,必须外网能访问
frontUrl
:
http://localhost:8080/ACPSample_AppServer/frontRcvResponse
#########################入网测试环境签名证书配置 ################################
# 多证书的情况证书路径为代码指定,可不对此块做配置。
# 签名证书路径,必须使用绝对路径,如果不想使用绝对路径,可以自行实现相对路径获取证书的方法;测试证书所有商户共用开发包中的测试签名证书,生产环境请从cfca下载得到。
# windows样例:
signCert
:
path
:
D:/certs/acp_test_sign.pfx
# 签名证书密码,测试环境固定000000,生产环境请修改为从cfca下载的正式证书的密码,正式环境证书密码位数需小于等于6位,否则上传到商户服务网站会失败
pwd
:
000000
# 签名证书类型,固定不需要修改
type
:
PKCS12
##########################加密证书配置################################
# 敏感信息加密证书路径(商户号开通了商户对敏感信息加密的权限,需要对 卡号accNo,pin和phoneNo,cvn2,expired加密(如果这些上送的话),对敏感信息加密使用)
encryptCert
:
path
:
d:/certs/acp_test_enc.cer
##########################验签证书配置################################
# 验签中级证书路径(银联提供)
middleCert
:
path
:
D:/certs/acp_test_middle.cer
# 验签根证书路径(银联提供)
rootCert
:
path
:
D:/certs/acp_test_root.cer
# -----------------------------------------------------------
# -----------------------------------------------------------
# -----------------------------------------------------------
# -----------------------------------------------------------
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment