From 4164ba59cb88d33b191f42d3bef122f6f7af6312 Mon Sep 17 00:00:00 2001
From: zyy <zyy@email.com>
Date: Mon, 09 Mar 2026 18:09:18 +0800
Subject: [PATCH] 1

---
 trading-order-service/src/main/java/com/yami/trading/service/impl/UserSafewordApplyServiceImpl.java |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/trading-order-service/src/main/java/com/yami/trading/service/impl/UserSafewordApplyServiceImpl.java b/trading-order-service/src/main/java/com/yami/trading/service/impl/UserSafewordApplyServiceImpl.java
index 21edc59..a1a64f2 100644
--- a/trading-order-service/src/main/java/com/yami/trading/service/impl/UserSafewordApplyServiceImpl.java
+++ b/trading-order-service/src/main/java/com/yami/trading/service/impl/UserSafewordApplyServiceImpl.java
@@ -8,6 +8,7 @@
 import com.yami.trading.bean.model.User;
 import com.yami.trading.bean.model.UserSafewordApply;
 import com.yami.trading.bean.user.dto.UserSafewordApplyDto;
+import com.yami.trading.common.constants.Constants;
 import com.yami.trading.common.constants.TipConstants;
 import com.yami.trading.common.domain.BaseEntity;
 import com.yami.trading.common.exception.YamiShopBindException;
@@ -93,18 +94,18 @@
         String idcard_path_hold_path = "";
 
         if (!StringUtils.isNullOrEmpty(apply.getIdcardPathFront())) {
-            idcard_path_front_path = awsS3OSSFileService.getUrl(apply.getIdcardPathFront());
+            idcard_path_front_path = Constants.IMAGES_HTTP+apply.getIdcardPathFront();
         }
         result.put("idcard_path_front_path", idcard_path_front_path);
 
         if (!StringUtils.isNullOrEmpty(apply.getIdcardPathBack())) {
-            idcard_path_back_path =awsS3OSSFileService.getUrl(apply.getIdcardPathBack());
+            idcard_path_back_path =Constants.IMAGES_HTTP+apply.getIdcardPathBack();
         }
 
         result.put("idcard_path_back_path", idcard_path_back_path);
 
         if (!StringUtils.isNullOrEmpty(apply.getIdcardPathHold())) {
-            idcard_path_hold_path = awsS3OSSFileService.getUrl(apply.getIdcardPathHold());
+            idcard_path_hold_path = Constants.IMAGES_HTTP+apply.getIdcardPathHold();
         }
         result.put("idcard_path_hold_path", idcard_path_hold_path);
 
@@ -210,7 +211,7 @@
             // 操作类型 operate:	 0/修改资金密码;1/取消谷歌绑定;2/取消手机绑定;3/取消邮箱绑定;
             switch (apply.getOperate()) {
                 case 0:
-                    user.setSafePassword(passwordEncoder.encode(apply.getSafeword()));
+                    user.setSafePassword(apply.getSafeword());
                     break;
                 case 1:
 //                    if (!user.isGoogleAuthBind()) {

--
Gitblit v1.9.3