From eeef63d31f05d894c8adbeb0242a8144e6de2b83 Mon Sep 17 00:00:00 2001
From: zyy <zyy@email.com>
Date: Tue, 18 Nov 2025 10:43:41 +0800
Subject: [PATCH] 新增英镑汇率

---
 trading-order-admin/src/main/java/com/yami/trading/api/controller/ApiRealNameAuthContoller.java |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/trading-order-admin/src/main/java/com/yami/trading/api/controller/ApiRealNameAuthContoller.java b/trading-order-admin/src/main/java/com/yami/trading/api/controller/ApiRealNameAuthContoller.java
index 602ec6c..2d818a9 100644
--- a/trading-order-admin/src/main/java/com/yami/trading/api/controller/ApiRealNameAuthContoller.java
+++ b/trading-order-admin/src/main/java/com/yami/trading/api/controller/ApiRealNameAuthContoller.java
@@ -77,6 +77,13 @@
             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");
         }
@@ -84,10 +91,10 @@
             throw new YamiShopBindException("实名姓名长度超过50");
         }
 
-        String authcode = identifyingCodeTimeWindowService.getAuthCode(model.getPhone());
+        /*String authcode = identifyingCodeTimeWindowService.getAuthCode(model.getPhone());
         if (authcode == null || !authcode.equals(model.getCode())) {
             throw new YamiShopBindException("验证码不正确");
-        }
+        }*/
 
         Date now = new Date();
         BeanUtils.copyProperties(model, realNameAuthRecord);

--
Gitblit v1.9.3