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