diff --git a/bweb/src/main/java/com/bweb/controller/SecUserController.java b/bweb/src/main/java/com/bweb/controller/SecUserController.java index 66f61ba..b58eccf 100644 --- a/bweb/src/main/java/com/bweb/controller/SecUserController.java +++ b/bweb/src/main/java/com/bweb/controller/SecUserController.java @@ -63,6 +63,7 @@ public class SecUserController { secUser = new SecUser(); secUser.setPassword(MD5Util.encode("123456".getBytes())); secUser.setObjectType(SecUserObjectTypeEnum.type1.getCode()); + secUser.setStatus(SecUserStatusEnum.status1.getCode()); // 校验重复登录账户 if (secUserService.getDetailByLoginName(body.getString("loginName")) != null) {