添加thyy微信支付宝支付

This commit is contained in:
wuchunlei
2025-05-29 13:25:51 +08:00
parent f8ea89b517
commit 3cd1a6507e
8 changed files with 11 additions and 3 deletions

View File

@@ -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");
//处理抵扣积分

View File

@@ -49,6 +49,8 @@ public class WechatPayConfig implements Serializable {
private String wumenappId;
@Value("${wxpay.xlkjappId}")
private String xlkjappId;
@Value("${wxpay.thyyappId}")
private String thyyappId;
/**
* 商户号
*/

View File

@@ -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);

View File

@@ -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);