添加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);
|
||||
|
||||
Reference in New Issue
Block a user