fix bug
This commit is contained in:
@ -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