Commit e64dfead45339b861beb883037bdadead3dab881
1 parent
e385348335
Exists in
master
小程序注册患者后第一次登录前端跳关注公众号页面
Showing 2 changed files with 12 additions and 0 deletions
talkonlineweb/src/main/java/com/lyms/talkonlineweb/controller/PatientController.java
View file @
e64dfea
| ... | ... | @@ -302,6 +302,12 @@ |
| 302 | 302 | param.put("id",cLst.get(0).getPid()); |
| 303 | 303 | param.put("ppasswd",patient.getPpasswd()); |
| 304 | 304 | dLst=lymsPatientService.listByMap(param); |
| 305 | + }else { | |
| 306 | + //小程序自主注册用手机号登录验证 | |
| 307 | + Map<String,Object> paramQuery=new HashMap<>(); | |
| 308 | + paramQuery.put("enrolment_phone",patient.getIdno()); | |
| 309 | + paramQuery.put("ppasswd",patient.getPpasswd()); | |
| 310 | + dLst =lymsPatientService.listByMap(paramQuery); | |
| 305 | 311 | } |
| 306 | 312 | |
| 307 | 313 | } |
talkonlineweb/src/main/java/com/lyms/talkonlineweb/domain/LymsPatient.java
View file @
e64dfea