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
e4603254
Commit
e4603254
authored
Jan 06, 2022
by
dingzhiwei
Browse files
修复微信v3接口小程序支付报错问题:
https://gitee.com/jeequan/jeepay/issues/I4PJKX
parent
370394c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
jeepay-payment/src/main/java/com/jeequan/jeepay/pay/channel/wxpay/kits/WxpayV3Util.java
View file @
e4603254
...
@@ -283,7 +283,7 @@ public class WxpayV3Util {
...
@@ -283,7 +283,7 @@ public class WxpayV3Util {
}
}
}
}
public
static
String
processIsvPayer
(
String
subAppId
,
String
openId
)
{
public
static
JSONObject
processIsvPayer
(
String
subAppId
,
String
openId
)
{
JSONObject
payer
=
new
JSONObject
();
JSONObject
payer
=
new
JSONObject
();
// 子商户subAppId不为空
// 子商户subAppId不为空
if
(
StringUtils
.
isNotBlank
(
subAppId
))
{
if
(
StringUtils
.
isNotBlank
(
subAppId
))
{
...
@@ -291,7 +291,7 @@ public class WxpayV3Util {
...
@@ -291,7 +291,7 @@ public class WxpayV3Util {
}
else
{
}
else
{
payer
.
put
(
"sp_openid"
,
openId
);
// 用户在服务商appid下的唯一标识
payer
.
put
(
"sp_openid"
,
openId
);
// 用户在服务商appid下的唯一标识
}
}
return
payer
.
toJSONString
()
;
return
payer
;
}
}
}
}
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