Commit c7cb1e200774fc1f901dadcdf0ddc2b1c9231ef6
1 parent
6874abd89f
Exists in
master
and in
1 other branch
医生登录BUG
Showing 1 changed file with 2 additions and 1 deletions
talkonlineweb/src/main/java/com/lyms/talkonlineweb/controller/DoctorController.java
View file @
c7cb1e2
| ... | ... | @@ -162,8 +162,9 @@ |
| 162 | 162 | if(rArr.size()>0){ |
| 163 | 163 | doctor.setHxid(rArr.getJSONObject(0).getString("uuid")); |
| 164 | 164 | } |
| 165 | + lymsDoctorService.saveOrUpdate(doctor); | |
| 165 | 166 | } |
| 166 | - lymsDoctorService.update().update(doctor); | |
| 167 | + | |
| 167 | 168 | doctor.setDpasswd(null); |
| 168 | 169 | baseResponse.setObject(doctor); |
| 169 | 170 | String jwt = JwtUtils.createJWT("1", doctor.getDlogin(), Constant.JWT_TTL); |