新增医生身份认证修改im头像
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
// 医生详情数据
|
||||
|
||||
Reference in New Issue
Block a user