Commit e4603254 authored by dingzhiwei's avatar dingzhiwei
Browse files

修复微信v3接口小程序支付报错问题:https://gitee.com/jeequan/jeepay/issues/I4PJKX

parent 370394c4
...@@ -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;
} }
} }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment