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);