新版仿ok交易所-后端
1
zj
20 hours ago 640ccb9229224642515527daf87f308a7aa9bdf4
trading-order-admin/src/main/java/com/yami/trading/admin/controller/auth/HighLevelAuthController.java
@@ -89,12 +89,12 @@
    public Result<?> examine(@RequestBody @Valid RealNameExamineModel model){
        HighLevelAuthRecord highLevelAuthRecord= highLevelAuthRecordService.getById(model.getId());
        if (highLevelAuthRecord==null){
            throw  new YamiShopBindException("参数错误");
            throw new YamiShopBindException("Invalid parameters");
        }
        int status=  highLevelAuthRecord.getStatus();
        if (model.getType()==1){
            if (status < 1){
                throw  new YamiShopBindException("认证记录已操作过了");
                throw new YamiShopBindException("Verification record has already been processed");
            }
            highLevelAuthRecord.setStatus(2);
            highLevelAuthRecord.setOperationTime(new Date());
@@ -114,7 +114,7 @@
        }
        if (model.getType()==2){
            if (status > 1){
                throw  new YamiShopBindException("认证记录已操作过了");
                throw new YamiShopBindException("Verification record has already been processed");
            }
            highLevelAuthRecord.setStatus(3);
            highLevelAuthRecord.setMsg(model.getContent());