From 179c4d64313c9b7572778da4aaaf6c6584fe457d Mon Sep 17 00:00:00 2001
From: mitao <2763622819@qq.com>
Date: 星期二, 20 五月 2025 23:48:08 +0800
Subject: [PATCH] 修改文件上传类型限制

---
 springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComSanShuoIndustryCenterServiceImpl.java |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComSanShuoIndustryCenterServiceImpl.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComSanShuoIndustryCenterServiceImpl.java
index 2550246..f97541c 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComSanShuoIndustryCenterServiceImpl.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComSanShuoIndustryCenterServiceImpl.java
@@ -71,7 +71,7 @@
                 user.setName(comSanShuoIndustryCenterDTO.getName());
                 user.setType(12);
                 try {
-                    user.setPassword(MyAESUtil.Encrypt(comSanShuoIndustryCenterDTO.getPassword(),"Ryo7M3n8loC5Abcd"));
+                    user.setPassword(comSanShuoIndustryCenterDTO.getPassword());
                 } catch (Exception e) {
                     e.printStackTrace();
                 }
@@ -92,8 +92,7 @@
     @Override
     public R resetPassword(ComSanshuoIndustryCenter center) {
         try {
-            String pass=MyAESUtil.Encrypt(center.getPassword(), "Ryo7M3n8loC5Abcd");
-            return userService.sanShuoResetPassword(center.getAccount(), pass);
+            return userService.sanShuoResetPassword(center.getAccount(), center.getPassword());
         } catch (Exception e) {
             e.printStackTrace();
         }

--
Gitblit v1.7.1