2 Commits 31d339ff4f ... 70f4150767

Autore SHA1 Messaggio Data
  半月无霜 70f4150767 Merge branch 'master' of http://192.168.20.122:3000/root/qiyewechatApp 4 anni fa
  半月无霜 1a39b84408 添加手机号 4 anni fa

+ 1 - 0
ymall/src/main/java/com/liangjian11/ymall/service/impl/DoctorServiceImpl.java

@@ -364,6 +364,7 @@ public class DoctorServiceImpl extends ServiceImpl<DoctorMapper, Doctor> impleme
         doctor.setPhone(enPhone);
         doctorMapper.updateOne(doctor);
   
+        userAccount.setMobile(enPhone);
         userRoleService.addUserRole(userAccount, userAccount.getNickname(),
                 userAccount.getHeadimg(), doctorList.get(0).getId(), 1, 1);
       }