1
This commit is contained in:
parent
850f017cdf
commit
96f0497be3
@ -1140,21 +1140,21 @@ class DoctorAuthService extends BaseService
|
|||||||
foreach ($doctor_iden_fails as $doctor_iden_fail){
|
foreach ($doctor_iden_fails as $doctor_iden_fail){
|
||||||
// 头像
|
// 头像
|
||||||
if ($doctor_iden_fail['field_name'] == "avatar") {
|
if ($doctor_iden_fail['field_name'] == "avatar") {
|
||||||
if ($doctor['avatar'] == $request_params['avatar']){
|
if ($avatar == $request_params['avatar']){
|
||||||
return fail(HttpEnumCode::HTTP_ERROR,"医生头像" . $doctor_iden_fail['fail_reason']);
|
return fail(HttpEnumCode::HTTP_ERROR,"医生头像" . $doctor_iden_fail['fail_reason']);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// 医生简介
|
// 医生简介
|
||||||
if ($doctor_iden_fail['field_name'] == "brief_introduction") {
|
if ($doctor_iden_fail['field_name'] == "brief_introduction") {
|
||||||
if ($doctor['brief_introduction'] == $request_params['brief_introduction']){
|
if ($brief_introduction == $request_params['brief_introduction']){
|
||||||
return fail(HttpEnumCode::HTTP_ERROR,"医生简介" . $doctor_iden_fail['fail_reason']);
|
return fail(HttpEnumCode::HTTP_ERROR,"医生简介" . $doctor_iden_fail['fail_reason']);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// 擅长领域
|
// 擅长领域
|
||||||
if ($doctor_iden_fail['field_name'] == "be_good_at") {
|
if ($doctor_iden_fail['field_name'] == "be_good_at") {
|
||||||
if ($doctor['be_good_at'] == $request_params['be_good_at']){
|
if ($be_good_at == $request_params['be_good_at']){
|
||||||
return fail(HttpEnumCode::HTTP_ERROR,"擅长领域" . $doctor_iden_fail['fail_reason']);
|
return fail(HttpEnumCode::HTTP_ERROR,"擅长领域" . $doctor_iden_fail['fail_reason']);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user