|
|
@ -63,6 +63,7 @@ public class SecUserController { |
|
|
|
secUser = new SecUser(); |
|
|
|
secUser = new SecUser(); |
|
|
|
secUser.setPassword(MD5Util.encode("123456".getBytes())); |
|
|
|
secUser.setPassword(MD5Util.encode("123456".getBytes())); |
|
|
|
secUser.setObjectType(SecUserObjectTypeEnum.type1.getCode()); |
|
|
|
secUser.setObjectType(SecUserObjectTypeEnum.type1.getCode()); |
|
|
|
|
|
|
|
secUser.setStatus(SecUserStatusEnum.status1.getCode()); |
|
|
|
|
|
|
|
|
|
|
|
// 校验重复登录账户
|
|
|
|
// 校验重复登录账户
|
|
|
|
if (secUserService.getDetailByLoginName(body.getString("loginName")) != null) { |
|
|
|
if (secUserService.getDetailByLoginName(body.getString("loginName")) != null) { |
|
|
|