修正正则匹配oss地址
This commit is contained in:
parent
631567116c
commit
5e3ed1b241
@ -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();
|
||||
|
||||
@ -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);
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user