From 1004f3d16011f69894196bfd180ea539b76ba4e7 Mon Sep 17 00:00:00 2001
From: zj <1772600164@qq.com>
Date: Wed, 03 Jun 2026 15:27:26 +0800
Subject: [PATCH] 1

---
 trading-order-admin/src/main/java/com/yami/trading/api/controller/ApiRealNameAuthContoller.java |   24 ++++++++++++------------
 1 files changed, 12 insertions(+), 12 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 042d2ea..5f18535 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
@@ -61,13 +61,13 @@
         if (realNameAuthRecord != null) {
             switch (realNameAuthRecord.getStatus()) {
                 case 0:
-                    msg = "已经提交申请,请等待审核";
+                    msg = "Application submitted, please wait for review";
                     break;
                 case 1:
-                    msg = "审核中";
+                    msg = "Under review";
                     break;
                 case 2:
-                    msg = "审核已通过";
+                    msg = "Already approved";
                     break;
                 case 3:
                     realNameAuthRecord.setStatus(1);
@@ -78,7 +78,7 @@
 //                    msg = MessageFormat.format("审核未通过,原因:{0}", realNameAuthRecord.getMsg());
 //                    break;
 //                default:
-//                    msg = "审核状态异常请联系客服";
+//                    msg = "Abnormal review status, please contact support";
 //                    break;
             }//
             if (StrUtil.isNotBlank(msg)) {
@@ -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);
     }
 

--
Gitblit v1.9.3