This commit is contained in:
moxiangrong
2024-03-05 14:38:24 +08:00
parent 09d4fd81c5
commit 912be34a6e
17 changed files with 70 additions and 20 deletions

View File

@ -15,5 +15,5 @@ public interface PayOrderConstants {
String PAY_REDIRECT_URL = "pages/payStatus/index?type=1";
// 充值回调地址
String RECHARGE_REDIRECT_URL = "views/account/balance/index";
String RECHARGE_REDIRECT_URL = "pages/payStatus/index?type=2";
}

View File

@ -96,7 +96,7 @@ public class AppPayController {
}
if (PayTypeEnum.WEIXIN.getType().equals(param.getPayType())) {
//小程序支付需要openid
if (Objects.isNull(user.getRoutineOpenId())) throw exception(USER_NOT_BINDING_WX);
if (Objects.isNull(user.getRoutineOpenId())) throw exception(USER_NOT_BINDING_WX);
}
payParam.setType(param.getPayType());
payParam.setMerchantDetailsDO(merchantDetailsDO);