@@ -334,7 +334,7 @@ class ApiController extends Controller
$org_id = intval(request('org_id'));
$sType = intval(request('type')); //排班类型 1门诊 2 儿保 3计免
$data = request('schedulingtime');
- if($sType == 1){
+ if($sType != 1){
$docter_id = 0;
}
if(empty($org_id) || empty($sType) || empty($data)){