From 868b345df4788d8f7d18769e1f681e26935a0bbd Mon Sep 17 00:00:00 2001 From: xiaoCJ <406612557@qq.com> Date: Tue, 18 Mar 2025 17:39:17 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BB=E5=BD=95=E6=8E=A5=E5=8F=A3=E8=BF=94?= =?UTF-8?q?=E5=9B=9E=E5=AD=A6=E6=A0=A1ID?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/ruoyi/web/controller/system/SysLoginController.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysLoginController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysLoginController.java index 2489bd5..9e5c6ee 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysLoginController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysLoginController.java @@ -192,9 +192,7 @@ public class SysLoginController { @ApiOperation("根据用户Code查询该用户是否存在个人赛用户数据,存在则返回,不存在则新增后返回,用于智云3.0创建用户后调用该接口创建用户个人赛") @PostMapping("/checkOrCreateForexSimulationUser") @Anonymous - public String checkOrCreateForexSimulationUser(@RequestBody List zyUserInfoList, - @RequestParam String systemOwner) { - System.out.println(systemOwner); + public String checkOrCreateForexSimulationUser(@RequestBody List zyUserInfoList) { List users = new ArrayList<>(); List userRoleList = new ArrayList<>(); List sysDeptList = new ArrayList<>(); @@ -204,6 +202,7 @@ public class SysLoginController { String username = zyUserInfo.getUsername(); // studentid String name = zyUserInfo.getName(); String password = zyUserInfo.getPassword(); + password = SecurityUtils.encryptPassword(password); Integer roleId = zyUserInfo.getRoleId(); //3教师 4学生 Integer classId = zyUserInfo.getClassId(); Long userId = Long.valueOf(zyUserId);