|
@@ -129,10 +129,10 @@ public class PayController {
|
|
appUserInfo.setUserType(userType);
|
|
appUserInfo.setUserType(userType);
|
|
if(userType.equals("1")){
|
|
if(userType.equals("1")){
|
|
//1 是公众号
|
|
//1 是公众号
|
|
- appUserInfo.setBlogToken(token);
|
|
|
|
|
|
+ appUserInfo.setBlogOpenid(token);
|
|
}else if(userType.equals("2")){
|
|
}else if(userType.equals("2")){
|
|
//2是小程序
|
|
//2是小程序
|
|
- appUserInfo.setMinaToken(token);
|
|
|
|
|
|
+ appUserInfo.setMinaOpenid(token);
|
|
}
|
|
}
|
|
List<AppUserInfo> appUserInfoList =appUserInfoService.Authentication(appUserInfo);
|
|
List<AppUserInfo> appUserInfoList =appUserInfoService.Authentication(appUserInfo);
|
|
|
|
|
|
@@ -172,7 +172,7 @@ public class PayController {
|
|
//reqData.put("subAppid", "wx24210004370ec43b"); //微信子公众号
|
|
//reqData.put("subAppid", "wx24210004370ec43b"); //微信子公众号
|
|
//reqData.put("outFrontUrl", ""); //js 支付,前台 成功通知地址
|
|
//reqData.put("outFrontUrl", ""); //js 支付,前台 成功通知地址
|
|
//reqData.put("outFrontFailUrl", ""); //js 支付,前台 事变通知地址
|
|
//reqData.put("outFrontFailUrl", ""); //js 支付,前台 事变通知地址
|
|
- reqData.put("notifyUrl", "http://m.huiyj.com/yijia-pay/api/getCallback"); //回调地址
|
|
|
|
|
|
+ reqData.put("notifyUrl", "http://www.huiyj.com/yijia-pay/api/getCallback"); //回调地址
|
|
//reqData.put("needReceipt", "00"); //电子发票功能 微信开具电子 发票使用
|
|
//reqData.put("needReceipt", "00"); //电子发票功能 微信开具电子 发票使用
|
|
//reqData.put("ledgerAccountFlag", "00"); //是否做分账 分账交易使 用;00:做; 01:不做;不传默认为不做分账
|
|
//reqData.put("ledgerAccountFlag", "00"); //是否做分账 分账交易使 用;00:做; 01:不做;不传默认为不做分账
|
|
//reqData.put("ledgerAccountEffectTime", "00"); //分账有效时间 单位为天;是 否做分账选择 00 时该字段必传
|
|
//reqData.put("ledgerAccountEffectTime", "00"); //分账有效时间 单位为天;是 否做分账选择 00 时该字段必传
|