feat:小程序版本过低
This commit is contained in:
@@ -327,6 +327,7 @@ public enum ErrorCodeEnum {
|
||||
WALLET_OPEN_ACCOUNT_FAIL(1620001,"钱包开通失败",null),
|
||||
WALLET_WITH_DRAWER_FAIL(1620002,"提现失败",null),
|
||||
WALLET_API_ERROR(1620003,"{0}",null),
|
||||
MINI_PROGRAM_VERSION_TOO_LOW(1620004,"小程序版本过低,请刷新小程序再操作!",null),
|
||||
|
||||
// 171闭店
|
||||
CLOSE_STORE_SUB_STAGE_ERROR(171002, "当前流程状态异常", null),
|
||||
|
||||
@@ -560,6 +560,9 @@ public class WalletServiceImpl implements WalletService {
|
||||
|
||||
@Override
|
||||
public Boolean openOnlineBankAccount(CoolOpenBasicInfoRequest request) {
|
||||
if (StringUtils.isBlank(request.getLegalSignerRelation())) {
|
||||
throw new ServiceException(ErrorCodeEnum.MINI_PROGRAM_VERSION_TOO_LOW);
|
||||
}
|
||||
//首先存储提交的信息
|
||||
OpenBankInfoDO openBankInfoDO = new OpenBankInfoDO();
|
||||
BeanUtil.copyProperties(request, openBankInfoDO);
|
||||
|
||||
Reference in New Issue
Block a user