|
|
|
@ -192,9 +192,7 @@ public class SysLoginController {
|
|
|
|
|
@ApiOperation("根据用户Code查询该用户是否存在个人赛用户数据,存在则返回,不存在则新增后返回,用于智云3.0创建用户后调用该接口创建用户个人赛")
|
|
|
|
|
@PostMapping("/checkOrCreateForexSimulationUser")
|
|
|
|
|
@Anonymous
|
|
|
|
|
public String checkOrCreateForexSimulationUser(@RequestBody List<ZYUserInfo> zyUserInfoList,
|
|
|
|
|
@RequestParam String systemOwner) {
|
|
|
|
|
System.out.println(systemOwner);
|
|
|
|
|
public String checkOrCreateForexSimulationUser(@RequestBody List<ZYUserInfo> zyUserInfoList) {
|
|
|
|
|
List<SysUser> users = new ArrayList<>();
|
|
|
|
|
List<SysUserRole> userRoleList = new ArrayList<>();
|
|
|
|
|
List<SysDept> 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);
|
|
|
|
|