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
43b46d31
Commit
43b46d31
authored
Jun 28, 2021
by
zhuxiao
Browse files
微信API V3接口回调参数获取
parent
23365f26
Changes
2
Hide whitespace changes
Inline
Side-by-side
jeepay-payment/src/main/java/com/jeequan/jeepay/pay/channel/AbstractChannelNoticeService.java
View file @
43b46d31
...
...
@@ -71,6 +71,11 @@ public abstract class AbstractChannelNoticeService implements IChannelNoticeServ
return
requestKitBean
.
getReqParamJSON
();
}
/**request.getParameter 获取参数 并转换为JSON格式 **/
protected
JSONObject
reqParam2JSON
()
{
return
requestKitBean
.
reqParam2JSON
();
}
/** 获取文件路径 **/
protected
String
getCertFilePath
(
String
certFilePath
)
{
return
channelCertConfigKitBean
.
getCertFilePath
(
certFilePath
);
...
...
jeepay-payment/src/main/java/com/jeequan/jeepay/pay/channel/wxpay/WxpayChannelNoticeService.java
View file @
43b46d31
...
...
@@ -198,7 +198,7 @@ public class WxpayChannelNoticeService extends AbstractChannelNoticeService {
header
.
setSignature
(
request
.
getHeader
(
"Wechatpay-Signature"
));
// 获取加密信息
JSONObject
params
=
getR
eqParamJSON
();
JSONObject
params
=
r
eqParam
2
JSON
();
log
.
info
(
"\n【请求头信息】:{}\n【加密数据】:{}"
,
header
.
toString
(),
params
.
toJSONString
());
...
...
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