Commit 72534067fcf878df40267d4ae4f6a1fe267e1d87
1 parent
058fac4962
Exists in
master
and in
1 other branch
update
Showing 1 changed file with 1 additions and 1 deletions
talkonlineweb/src/main/java/com/lyms/talkonlineweb/controller/PatientController.java
View file @
7253406
... | ... | @@ -298,7 +298,7 @@ |
298 | 298 | BaseResponse baseResponse = new BaseResponse(); |
299 | 299 | |
300 | 300 | //公众号跳转小程序登录状态。loginType==1不需要加密处理,这里是反相判断 |
301 | - if(!patient.getLoginType().equals(1)){ | |
301 | + if(!((Integer)1).equals(patient.getLoginType())){ | |
302 | 302 | //密码加密 |
303 | 303 | patient.setPpasswd(DigestUtils.md5DigestAsHex(patient.getPpasswd().getBytes())); |
304 | 304 | } |