新增医生身份认证修改im头像

This commit is contained in:
2023-05-08 19:34:33 +08:00
parent 4c477ce573
commit ef5a8f9691
2 changed files with 9 additions and 2 deletions
+9 -1
View File
@@ -472,7 +472,6 @@ class DoctorAuthService extends BaseService
}
}
//已选择专长列表
$expertise_ids = [];
@@ -566,6 +565,15 @@ class DoctorAuthService extends BaseService
Db::rollBack();
return fail(HttpEnumCode::SERVER_ERROR);
}
// 修改医生头像
if (!empty($doctor_data['avatar'])){
// 修改im头像
$profile = new Profile();
$arg = array();
$arg['Tag_Profile_IM_Image'] = addAliyunOssWebsite($doctor_data['avatar']);
$profile->setProfile($user_info['user_id'], $arg);
}
}
// 医生详情数据