Commit 05eb6669 by huangjinxin

fix:用户登陆优化

1 parent 4b32a839
...@@ -101,7 +101,7 @@ public class UserService { ...@@ -101,7 +101,7 @@ public class UserService {
UserOrgDao userOrgDao; UserOrgDao userOrgDao;
public Result<UserLoginDTO> userLogin(String account, String password) { public Result<UserLoginDTO> userLogin(String account, String password) {
UserEntity user = userDao.findByLoginnameAndPass(account, password); UserEntity user = userDao.findByLoginnameAndPass(account, SecureUtil.md5(password));
log.info("{}/{} login", account, password); log.info("{}/{} login", account, password);
if (null == user) { if (null == user) {
return Result.failure("鉴权失败"); return Result.failure("鉴权失败");
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!