|
@ -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");
|