新增医生身份认证修改im头像
This commit is contained in:
parent
4c477ce573
commit
ef5a8f9691
@ -2,7 +2,6 @@
|
||||
|
||||
namespace App\Controller;
|
||||
|
||||
use App\Amqp\Producer\PrescriptionDistributePhProducer;
|
||||
use App\Constants\HttpEnumCode;
|
||||
use App\Exception\BusinessException;
|
||||
use App\Model\DoctorInquiryTime;
|
||||
|
||||
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
// 医生详情数据
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user