From 97a8cc6a596c08235b2f6d66db85bd88a8afb4fa Mon Sep 17 00:00:00 2001 From: wucongxing <815046773@qq.com> Date: Sat, 13 May 2023 13:53:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8C=BB=E7=94=9F=E5=A4=B4?= =?UTF-8?q?=E5=83=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Services/DoctorAuthService.php | 8 ++++++++ 1 file changed, 8 insertions(+) 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();