Toggle navigation
Toggle navigation
This project
Loading...
Sign in
jiujian
/
client-customer-order-api
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
wangyingyang
2025-03-25 09:44:11 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
d9b740c6a542f833e7967baef1041e911d1a1b20
d9b740c6
1 parent
f2832ad6
update refund securitykey
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
1 deletions
src/main/java/com/infoloop/tianting/config/BusinessConfig.java
src/main/java/com/infoloop/tianting/service/client/PayServiceClient.java
src/main/resources/application.properties
src/main/java/com/infoloop/tianting/config/BusinessConfig.java
View file @
d9b740c
...
...
@@ -17,4 +17,5 @@ public class BusinessConfig {
private
String
payUrl
;
private
String
payClientId
;
private
String
cancelPayUrl
;
private
String
refundSecurityKey
;
}
...
...
src/main/java/com/infoloop/tianting/service/client/PayServiceClient.java
View file @
d9b740c
...
...
@@ -377,7 +377,7 @@ public class PayServiceClient {
Base64
.
encodeBase64String
(
payContentStr
.
getBytes
()),
StandardCharsets
.
UTF_8
);
// 构建signinfo
String
signInfoStr
=
appId
+
orderById
.
getId
()
+
payTime
+
businessConfig
.
get
PayClientId
();
String
signInfoStr
=
appId
+
orderById
.
getId
()
+
payTime
+
businessConfig
.
get
RefundSecurityKey
();
String
signInfo
=
DigestUtils
.
sha1Hex
(
signInfoStr
.
getBytes
());
// 构建请求
...
...
src/main/resources/application.properties
View file @
d9b740c
...
...
@@ -81,6 +81,7 @@ business-config.clientCustomerQueryUrl = https://nutri.amcare.com.cn/v3/clientcu
business-
config.payUrl
=
http://10.2.5.162:21051/API/Microapp/CreateOrder?appid={0}
business-
config.payClientId
=
Order
business-
config.cancelPayUrl
=
http://10.2.5.162:21051/frame/requestbase64
business-
config.refundSecurityKey
=
0987654321
##Actuator\u914D\u7F6E
management.server.port
=
8088
...
...
Please
register
or
login
to post a comment