2 次代码提交 31d339ff4f ... 70f4150767

作者 SHA1 备注 提交日期
  半月无霜 70f4150767 Merge branch 'master' of http://192.168.20.122:3000/root/qiyewechatApp 4 年之前
  半月无霜 1a39b84408 添加手机号 4 年之前
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      ymall/src/main/java/com/liangjian11/ymall/service/impl/DoctorServiceImpl.java

+ 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);
       }