2 Commits 31d339ff4f ... 70f4150767

Auteur SHA1 Bericht Datum
  半月无霜 70f4150767 Merge branch 'master' of http://192.168.20.122:3000/root/qiyewechatApp 4 jaren geleden
  半月无霜 1a39b84408 添加手机号 4 jaren geleden
1 gewijzigde bestanden met toevoegingen van 1 en 0 verwijderingen
  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);
       }