zyy
2025-12-09 80047c63d7243c88cba50b217a86cf030aa2d62a
trading-order-admin/src/main/java/com/yami/trading/api/controller/ApiRealNameAuthContoller.java
@@ -77,12 +77,22 @@
            realNameAuthRecord = new RealNameAuthRecord();
        }
        if (model.getIdBackImg() == null || model.getIdBackImg().isEmpty()) {
            throw new YamiShopBindException("请上传完整证件信息");
        }
        if (model.getIdFrontImg() == null || model.getIdFrontImg().isEmpty()) {
            throw new YamiShopBindException("请上传完整证件信息");
        }
        if (model.getIdNumber().length() > 50) {
            throw new YamiShopBindException("证件号码长度超过50");
        }
        if (model.getName().length()  >50) {
            throw new YamiShopBindException("实名姓名长度超过50");
        }
        if (model.getPhone() == null || model.getPhone().isEmpty()) {
            throw new YamiShopBindException("请输入手机号");
        }
        /*String authcode = identifyingCodeTimeWindowService.getAuthCode(model.getPhone());
        if (authcode == null || !authcode.equals(model.getCode())) {