fix bug
This commit is contained in:
@ -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";
|
||||
}
|
||||
|
@ -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);
|
||||
|
Reference in New Issue
Block a user