更新 体检引导

main
鹿和sa0ChunLuyu 1 year ago
parent a242cda965
commit 15f899eadc

@ -51,8 +51,9 @@ class FenzhenController extends Controller
$clinic_map[] = $item['name']; $clinic_map[] = $item['name'];
} }
$last_time = strtotime('2024-10-10 ' . $time_line[count($time_line) - 1]['time'] . ':00'); $last_time = strtotime('2024-10-10 ' . $time_line[count($time_line) - 1]['time'] . ':00');
if (!$res['data']['queue']) {
$push_end = false; $push_end = false;
foreach ($clinics as $key => $item) { foreach ($clinics as $item) {
if (!in_array($item['name'], $clinic_map)) { if (!in_array($item['name'], $clinic_map)) {
$push_end = true; $push_end = true;
$item_count = $item['count']; $item_count = $item['count'];
@ -83,6 +84,7 @@ class FenzhenController extends Controller
] ]
]); ]);
} }
}
$check_report_status = -1; $check_report_status = -1;
if (!!$res['data']['report']) { if (!!$res['data']['report']) {
$report_time = strtotime($res['data']['report'] . ' 00:00:00') + (60 * 60 * 24 * $report_day); $report_time = strtotime($res['data']['report'] . ' 00:00:00') + (60 * 60 * 24 * $report_day);

Loading…
Cancel
Save