From 72534067fcf878df40267d4ae4f6a1fe267e1d87 Mon Sep 17 00:00:00 2001 From: shiyang <316555390@qq.com> Date: Wed, 6 Apr 2022 09:49:30 +0800 Subject: [PATCH] update --- .../main/java/com/lyms/talkonlineweb/controller/PatientController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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())); } -- 1.8.3.1