优化登录接口

This commit is contained in:
季圣华
2021-09-02 01:00:17 +08:00
parent c2f90db8ef
commit bdd70fe888
2 changed files with 4 additions and 6 deletions

View File

@@ -496,7 +496,7 @@ public class UserService {
throw new BusinessRunTimeException(ExceptionConstants.USER_NAME_LIMIT_USE_CODE,
ExceptionConstants.USER_NAME_LIMIT_USE_MSG);
} else {
ue.setPassword(Tools.md5Encryp(ue.getPassword()));
ue.setPassword(ue.getPassword());
ue.setIsystem(BusinessConstants.USER_NOT_SYSTEM);
if (ue.getIsmanager() == null) {
ue.setIsmanager(BusinessConstants.USER_NOT_MANAGER);