新版仿ok交易所-后端
1
zj
19 hours ago 640ccb9229224642515527daf87f308a7aa9bdf4
trading-order-admin/src/main/java/com/yami/trading/api/controller/ApiHighLevelAuthController.java
@@ -48,7 +48,7 @@
    public Result applyHighLevelAuth(@Valid  ApplyHighLevelAuthModel model) {
        User user = userCacheService.currentUser();
        if (!realNameAuthRecordService.isPass(user.getUserId())) {
            throw new YamiShopBindException("实名认证未通过,无法进行高级认证");
            throw new YamiShopBindException("Identity verification not passed, advanced verification unavailable");
        }
        HighLevelAuthRecord highLevelAuthRecord = highLevelAuthRecordService.findByUserId(user.getUserId());
        if (highLevelAuthRecord != null) {
@@ -85,34 +85,34 @@
        if (StrUtil.isNotBlank(model.getWork_place())){
            if ( model.getWork_place().length()>245){
                throw new YamiShopBindException("工作地址长度超过245");
                throw new YamiShopBindException("Work address exceeds 245 characters");
            }
        }
        if (StrUtil.isNotBlank(model.getHome_place())){
            if ( model.getHome_place().length()>245){
                throw new YamiShopBindException("家庭地址长度超过245");
                throw new YamiShopBindException("Home address exceeds 245 characters");
            }
        }
        if (StrUtil.isNotBlank(model.getRelatives_relation())){
            if ( model.getRelatives_relation().length()>32){
                throw new YamiShopBindException("亲属电话长度超过32");
                throw new YamiShopBindException("Relative phone exceeds 32 characters");
            }
        }
        if (StrUtil.isNotBlank(model.getRelatives_name())){
            if ( model.getRelatives_name().length()>32){
                throw new YamiShopBindException("亲属名称长度超过32");
                throw new YamiShopBindException("Relative name exceeds 32 characters");
            }
        }
        if (StrUtil.isNotBlank(model.getRelatives_place())){
            if ( model.getRelatives_place().length()>245){
                throw new YamiShopBindException("亲属地址长度超过245");
                throw new YamiShopBindException("Relative address exceeds 245 characters");
            }
        }
        if (StrUtil.isNotBlank(model.getRelatives_phone())){
            if ( model.getRelatives_phone().length()>32){
                throw new YamiShopBindException("亲属电话长度超过32");
                throw new YamiShopBindException("Relative phone exceeds 32 characters");
            }
        }