mirror of
https://github.com/acepanel/panel.git
synced 2026-02-05 00:39:32 +08:00
特性:发布 20221130 版本
This commit is contained in:
@@ -23,7 +23,7 @@ class TasksController extends Controller
|
||||
$task = Task::query()->where('status', 'running')->orWhere('status', 'waiting')->first();
|
||||
$res['code'] = 0;
|
||||
$res['msg'] = 'success';
|
||||
if ($task) {
|
||||
if (empty($task)) {
|
||||
$res['data'] = false;
|
||||
} else {
|
||||
$res['data'] = true;
|
||||
|
||||
Reference in New Issue
Block a user