Pārlūkot izejas kodu

新增患者增加身份证登录

esb 8 gadi atpakaļ
vecāks
revīzija
69ea73ba56

+ 1 - 1
patient-co-wlyy/src/main/java/com/yihu/wlyy/web/common/account/WechatController.java

@ -345,7 +345,7 @@ public class WechatController extends WeixinBaseController {
            if(StringUtils.isNoneEmpty(mobile)&&StringUtils.isNoneEmpty(password)){
                Patient patient = patientService.findByMobile(mobile);
                if(patient==null){
                    patientService.findByIdcard(mobile);
                    patient= patientService.findByIdcard(mobile);
                }
                loginLog.setUserCode(patient.getCode());
                loginLog.setLoginType("2");