新版仿ok交易所-后端
1
zj
19 hours ago 640ccb9229224642515527daf87f308a7aa9bdf4
trading-order-admin/src/main/java/com/yami/trading/api/controller/ApiRealNameAuthContoller.java
@@ -91,10 +91,10 @@
        }
        if (model.getIdNumber().length()>50){
            throw new YamiShopBindException("证件号码长度超过50");
            throw new YamiShopBindException("ID number exceeds 50 characters");
        }
        if (model.getName().length()>50){
            throw new YamiShopBindException("实名姓名长度超过50");
            throw new YamiShopBindException("Real name exceeds 50 characters");
        }
        BeanUtils.copyProperties(model, realNameAuthRecord);
        realNameAuthRecord.setUserId(user.getUserId());
@@ -130,12 +130,12 @@
        map.put("handheldPhoto", record.getHandheldPhoto());
        map.put("idname", record.getIdName());
        map.put("idnumber", record.getIdNumber());
        map.put("idimg_1_path", awsS3OSSFileService.getUrl(record.getIdFrontImg()));
        map.put("idimg_2_path", awsS3OSSFileService.getUrl(record.getIdBackImg()));
        map.put("idimg_3_path", awsS3OSSFileService.getUrl(record.getHandheldPhoto()));
        map.put("idimg_1", record.getIdFrontImg());
        map.put("idimg_2", record.getIdBackImg());
        map.put("idimg_3", record.getHandheldPhoto());
        map.put("idimg_1_path",record.getIdFrontImg());
        map.put("idimg_2_path",record.getIdBackImg());
        map.put("idimg_3_path",record.getHandheldPhoto());
        map.put("idimg_1",record.getIdFrontImg());
        map.put("idimg_2",record.getIdBackImg());
        map.put("idimg_3",record.getHandheldPhoto());
        return Result.succeed(map);
    }