Przeglądaj źródła

添加手机号

半月无霜 4 lat temu
rodzic
commit
1a39b84408

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