diff --git a/app/Services/DoctorAuthService.php b/app/Services/DoctorAuthService.php index 619d529..cdd8006 100644 --- a/app/Services/DoctorAuthService.php +++ b/app/Services/DoctorAuthService.php @@ -571,6 +571,14 @@ class DoctorAuthService extends BaseService // 修改医生头像 if (!empty($doctor_data['avatar'])){ + // 修改user表头像 + $params = array(); + $params['doctor_id'] = $user_info['client_user_id']; + + $data = array(); + $data['avatar'] = $doctor_data['avatar']; + User::editUser($params,$data); + // 修改im头像 $profile = new Profile(); $arg = array();