diff --git a/talkonlineweb/src/main/java/com/lyms/talkonlineweb/controller/PatientController.java b/talkonlineweb/src/main/java/com/lyms/talkonlineweb/controller/PatientController.java index d73c95f..11edd0a 100644 --- a/talkonlineweb/src/main/java/com/lyms/talkonlineweb/controller/PatientController.java +++ b/talkonlineweb/src/main/java/com/lyms/talkonlineweb/controller/PatientController.java @@ -298,7 +298,7 @@ public class PatientController { BaseResponse baseResponse = new BaseResponse(); //公众号跳转小程序登录状态。loginType==1不需要加密处理,这里是反相判断 - if(!patient.getLoginType().equals(1)){ + if(!((Integer)1).equals(patient.getLoginType())){ //密码加密 patient.setPpasswd(DigestUtils.md5DigestAsHex(patient.getPpasswd().getBytes())); }