修正医院判断
This commit is contained in:
parent
27288a9dd9
commit
631567116c
@ -364,7 +364,7 @@ class DoctorAuthService extends BaseService
|
|||||||
$params = array();
|
$params = array();
|
||||||
$params['hospital_id'] = $request_params['hospital_id'];
|
$params['hospital_id'] = $request_params['hospital_id'];
|
||||||
$hospital = Hospital::getOne($params);
|
$hospital = Hospital::getOne($params);
|
||||||
if (!empty($hospital)) {
|
if (empty($hospital)) {
|
||||||
return fail(HttpEnumCode::HTTP_ERROR, "医院选择错误");
|
return fail(HttpEnumCode::HTTP_ERROR, "医院选择错误");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user