提交代码

master
胡锐 6 months ago committed by yuanye
parent 704a2796a3
commit b19e4ac3e0
  1. 1
      bweb/src/main/java/com/bweb/controller/SecUserController.java

@ -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) {

Loading…
Cancel
Save