|
@@ -81,7 +81,7 @@ public class UserApiController extends AbstractApiController {
|
|
|
}
|
|
|
String pwd2 = SecureUtil.md5(loginPara.getPwd() + user.getSalt());
|
|
|
log.info("用户:"+loginPara.getAccount()+"登录密码:"+loginPara.getPwd() +"加密后:"+pwd2);
|
|
|
- if (StringUtils.equals(user.getPwd(), pwd2)) {
|
|
|
+ if (StrUtil.equals(user.getPwd().toUpperCase(), pwd2.toUpperCase())) {
|
|
|
if (user == null) {
|
|
|
return ResultGenerator.genFailResult(ResultCode.USER_IS_NULL);
|
|
|
}
|