修正身份认证审核状态及oss网址问题
This commit is contained in:
parent
5e3ed1b241
commit
956c9c6474
@ -134,5 +134,5 @@ function addAliyunOssWebsite($path): string
|
|||||||
if (empty($path)){
|
if (empty($path)){
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
return "https://" . config('alibaba.oss.endpoint') . $path;
|
return "https://" . config('alibaba.oss.bucket') . '.' .config('alibaba.oss.endpoint') . $path;
|
||||||
}
|
}
|
||||||
@ -5,6 +5,7 @@ namespace App\Controller;
|
|||||||
use App\Request\DoctorAccountRequest;
|
use App\Request\DoctorAccountRequest;
|
||||||
use App\Request\UserDoctorRequest;
|
use App\Request\UserDoctorRequest;
|
||||||
use App\Services\DoctorAccountService;
|
use App\Services\DoctorAccountService;
|
||||||
|
use App\Utils\PcreMatch;
|
||||||
use Psr\Container\ContainerExceptionInterface;
|
use Psr\Container\ContainerExceptionInterface;
|
||||||
use Psr\Container\NotFoundExceptionInterface;
|
use Psr\Container\NotFoundExceptionInterface;
|
||||||
use Psr\Http\Message\ResponseInterface;
|
use Psr\Http\Message\ResponseInterface;
|
||||||
|
|||||||
@ -403,8 +403,6 @@ class DoctorAuthService extends BaseService
|
|||||||
$doctor_data['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) {
|
|
||||||
// 获取医生详情数据
|
// 获取医生详情数据
|
||||||
$params = array();
|
$params = array();
|
||||||
$params['doctor_id'] = $user_info['client_user_id'];
|
$params['doctor_id'] = $user_info['client_user_id'];
|
||||||
@ -434,7 +432,6 @@ class DoctorAuthService extends BaseService
|
|||||||
if ($user_doctor_info['work_cert'] != $work_cert) {
|
if ($user_doctor_info['work_cert'] != $work_cert) {
|
||||||
$doctor_info_data['work_cert'] = $work_cert;
|
$doctor_info_data['work_cert'] = $work_cert;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
//已选择专长列表
|
//已选择专长列表
|
||||||
$expertise_ids = [];
|
$expertise_ids = [];
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user