From 5e3ed1b2417f992b16bb6ce473d4937dbf13cad7 Mon Sep 17 00:00:00 2001 From: wucongxing <815046773@qq.com> Date: Thu, 23 Feb 2023 15:31:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E6=AD=A3=E5=88=99=E5=8C=B9?= =?UTF-8?q?=E9=85=8Doss=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Services/DoctorAuthService.php | 17 ++++++++++++++++- app/Utils/PcreMatch.php | 2 +- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/app/Services/DoctorAuthService.php b/app/Services/DoctorAuthService.php index e36c229..83b4f66 100644 --- a/app/Services/DoctorAuthService.php +++ b/app/Services/DoctorAuthService.php @@ -388,6 +388,21 @@ class DoctorAuthService extends BaseService } } + // 科室电话 + if ($doctor['department_custom_mobile'] != $request_params['department_custom_mobile']) { + $doctor_data['department_custom_mobile'] = $request_params['department_custom_mobile']; + } + + // 医生简介 + if ($doctor['brief_introduction'] != $request_params['brief_introduction']) { + $doctor_data['brief_introduction'] = $request_params['brief_introduction']; + } + + // 擅长领域 + if ($doctor['be_good_at'] != $request_params['be_good_at']) { + $doctor_data['be_good_at'] = $request_params['be_good_at']; + } + // 未认证-认证失败 if ($doctor['iden_auth_status'] == 0 || $doctor['iden_auth_status'] == 3) { // 获取医生详情数据 @@ -447,7 +462,7 @@ class DoctorAuthService extends BaseService $expertise_is_change = true; } - // 验证认证失败场景 + // 审核失败,重新提交 if ($doctor['iden_auth_status'] == 3){ // 获取认证失败字段 $params = array(); diff --git a/app/Utils/PcreMatch.php b/app/Utils/PcreMatch.php index 827bbe6..48b88c1 100644 --- a/app/Utils/PcreMatch.php +++ b/app/Utils/PcreMatch.php @@ -59,6 +59,6 @@ class PcreMatch return $path; } - return str_replace('https://' . config('alibaba.oss.endpoint'),"",$path); + return str_replace('https://' . config('alibaba.oss.bucket') . '.' .config('alibaba.oss.endpoint'),"",$path); } } \ No newline at end of file