Compare commits
No commits in common. "ce6e5fb5d1a455694eeef03b1612761ac7505321" and "73b922d8aff2b0a46e025295cd9e044a1dfb75e3" have entirely different histories.
ce6e5fb5d1
...
73b922d8af
@ -75,6 +75,23 @@ class PatientDoctorService extends BaseService
|
||||
$doctor_params["iden_auth_status"] = 1;// 身份认证状态(0:未认证 1:认证通过 2:审核中 3:认证失败)
|
||||
$doctor_params["is_bind_bank"] = 1;// 是否已绑定结算银行卡(0:否 1:是)
|
||||
|
||||
$user_info = $this->request->getAttribute("userInfo") ?? [];
|
||||
$params = array();
|
||||
$params['user_id'] = $user_info['user_id'];
|
||||
$user = User::getOne($params);
|
||||
if (!empty($user)){
|
||||
if ($user["mobile"] == "15026619021"){
|
||||
$doctor_params["multi_point_status"] = 1;
|
||||
}
|
||||
|
||||
$app_env = config('app_env','dev');
|
||||
if ($app_env == 'dev'){
|
||||
if ($user["mobile"] == "18012345001"){
|
||||
$doctor_params["multi_point_status"] = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$fields = [
|
||||
"user_doctor.doctor_id",
|
||||
"user_id",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user