Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Jeepay
Commits
e187c590
Commit
e187c590
authored
Apr 10, 2018
by
cbwleft
Browse files
解决微信APP支付与文档上字段名称不一致的问题
parent
00076fd1
Changes
1
Show whitespace changes
Inline
Side-by-side
xxpay4spring-boot/src/main/java/org/xxpay/boot/service/impl/PayChannel4WxServiceImpl.java
View file @
e187c590
...
...
@@ -97,12 +97,12 @@ public class PayChannel4WxServiceImpl extends BaseService implements IPayChannel
configMap
.
put
(
"appid"
,
appId
);
// 此map用于客户端与微信服务器交互
payInfo
.
put
(
"sign"
,
SignUtils
.
createSign
(
configMap
,
wxPayConfig
.
getMchKey
(),
null
));
payInfo
.
put
(
"prepay
I
d"
,
wxPayUnifiedOrderResult
.
getPrepayId
());
payInfo
.
put
(
"partner
I
d"
,
partnerId
);
payInfo
.
put
(
"app
I
d"
,
appId
);
payInfo
.
put
(
"package
Value
"
,
packageValue
);
payInfo
.
put
(
"time
S
tamp"
,
timestamp
);
payInfo
.
put
(
"nonce
S
tr"
,
nonceStr
);
payInfo
.
put
(
"prepay
i
d"
,
wxPayUnifiedOrderResult
.
getPrepayId
());
payInfo
.
put
(
"partner
i
d"
,
partnerId
);
payInfo
.
put
(
"app
i
d"
,
appId
);
payInfo
.
put
(
"package"
,
packageValue
);
payInfo
.
put
(
"time
s
tamp"
,
timestamp
);
payInfo
.
put
(
"nonce
s
tr"
,
nonceStr
);
map
.
put
(
"payParams"
,
payInfo
);
break
;
}
...
...
Write
Preview
Supports
Markdown
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