添加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);

View File

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

View File

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

View File

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

View File

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