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