添加thyy微信支付宝支付
This commit is contained in:
@@ -201,7 +201,7 @@ public class AliPayServiceImpl implements AliPayService {
|
||||
userVipService.openVipForUser(order);
|
||||
}
|
||||
|
||||
if ("vip".equals(subject)) {
|
||||
if ("aiVip".equals(subject)) {
|
||||
//更新 订单 记录
|
||||
buyOrderService.updateOrderStatus(Integer.valueOf(customerid),oldPayZfbOrderEntity.getRelevanceoid(),"2");
|
||||
//处理抵扣积分
|
||||
|
||||
@@ -49,6 +49,8 @@ public class WechatPayConfig implements Serializable {
|
||||
private String wumenappId;
|
||||
@Value("${wxpay.xlkjappId}")
|
||||
private String xlkjappId;
|
||||
@Value("${wxpay.thyyappId}")
|
||||
private String thyyappId;
|
||||
/**
|
||||
* 商户号
|
||||
*/
|
||||
|
||||
@@ -72,6 +72,8 @@ public class WeChatPayController {
|
||||
appid = wechatPayConfig.getWumenappId();
|
||||
} else if ("xlkj".equals(paymentInfo.getAppName())) {
|
||||
appid = wechatPayConfig.getXlkjappId();
|
||||
} else if ("thyy".equals(paymentInfo.getAppName())) {
|
||||
appid = wechatPayConfig.getThyyappId();
|
||||
}
|
||||
Map<String, Object> map = new HashMap<>();
|
||||
paramMap.put("appid", appid);
|
||||
|
||||
@@ -100,6 +100,8 @@ public class WxpayServiceImpl extends ServiceImpl<PayWechatOrderDao, PayWechatOr
|
||||
appid = wechatPayConfig.getWumenappId();
|
||||
} else if ("xlkj".equals(paymentInfo.getAppName())) {
|
||||
appid = wechatPayConfig.getXlkjappId();
|
||||
} else if ("thyy".equals(paymentInfo.getAppName())) {
|
||||
appid = wechatPayConfig.getThyyappId();
|
||||
}
|
||||
// app id
|
||||
paramMap.put("appid", appid);
|
||||
|
||||
@@ -92,7 +92,7 @@ wxpay:
|
||||
zmzmappId: wx912aa600132dc965
|
||||
wumenappId: wx6b17b40171dea988
|
||||
xlkjappId: wxd6bfeec65bc7abee
|
||||
# wmysappId: wx47134a8f15083734
|
||||
thyyappId: wx5c50e3696028d2ec
|
||||
mchId: 1612860909
|
||||
payUrl: https://api.mch.weixin.qq.com/v3/pay/transactions/app
|
||||
notifyUrl: https://testapi.nuttyreading.com/pay/payNotify
|
||||
|
||||
@@ -92,6 +92,7 @@ wxpay:
|
||||
zmzmappId: wx912aa600132dc965
|
||||
wumenappId: wx6b17b40171dea988
|
||||
xlkjappId: wxd6bfeec65bc7abee
|
||||
thyyappId: wx5c50e3696028d2ec
|
||||
mchId: 1612860909
|
||||
payUrl: https://api.mch.weixin.qq.com/v3/pay/transactions/app
|
||||
notifyUrl: https://testapi.nuttyreading.com/pay/payNotify
|
||||
|
||||
@@ -90,6 +90,7 @@ wxpay:
|
||||
zmzmappId: wx912aa600132dc965
|
||||
wumenappId: wx6b17b40171dea988
|
||||
xlkjappId: wxd6bfeec65bc7abee
|
||||
thyyappId: wx5c50e3696028d2ec
|
||||
mchId: 1612860909
|
||||
payUrl: https://api.mch.weixin.qq.com/v3/pay/transactions/app
|
||||
notifyUrl: https://api.nuttyreading.com/pay/payNotify
|
||||
|
||||
@@ -91,7 +91,7 @@ wxpay:
|
||||
zmzmappId: wx912aa600132dc965
|
||||
wumenappId: wx6b17b40171dea988
|
||||
xlkjappId: wxd6bfeec65bc7abee
|
||||
# wmysappId: wx47134a8f15083734
|
||||
thyyappId: wx5c50e3696028d2ec
|
||||
mchId: 1612860909
|
||||
payUrl: https://api.mch.weixin.qq.com/v3/pay/transactions/app
|
||||
notifyUrl: https://testapi.nuttyreading.com/pay/payNotify
|
||||
|
||||
Reference in New Issue
Block a user