|
|
|
@ -400,7 +400,7 @@ public class UserInfoService { |
|
|
|
|
HashMap<String, Object> resp = new HashMap<String, Object>(); |
|
|
|
|
HashMap<String, Object> obj = new HashMap<String, Object>(); |
|
|
|
|
UserInfo userInfo = new UserInfo(); |
|
|
|
|
userInfo.setPassword(password); |
|
|
|
|
userInfo.setPassword(MD5.encrypt(password)); |
|
|
|
|
userInfo.setSchoolId(schoolId); |
|
|
|
|
if (source == 0){ |
|
|
|
|
//账号
|
|
|
|
@ -429,7 +429,7 @@ public class UserInfoService { |
|
|
|
|
boolean num = false; |
|
|
|
|
if (user != null){ |
|
|
|
|
//校验密码
|
|
|
|
|
num = MD5.encrypt(password).equals(user.getPassword()); |
|
|
|
|
num = userInfo.getPassword().equals(user.getPassword()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if(user!=null && num) { |
|
|
|
|