From d1423eb6e897e02da348ada8de96ad91d1f0b202 Mon Sep 17 00:00:00 2001 From: "Talent.Miao" Date: Mon, 1 Mar 2021 09:43:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=B8=A6=E6=9C=89=E8=A1=A8?= =?UTF-8?q?=E5=89=8D=E7=BC=80=E6=97=B6=E6=89=BE=E4=B8=8D=E5=88=B0=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- catch/monitor/model/CrontabLog.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/catch/monitor/model/CrontabLog.php b/catch/monitor/model/CrontabLog.php index e1fd219..24e7f9a 100644 --- a/catch/monitor/model/CrontabLog.php +++ b/catch/monitor/model/CrontabLog.php @@ -47,7 +47,7 @@ class CrontabLog extends CatchModel return $this->catchLeftJoin(Crontab::class, 'id', 'crontab_id', ['name', 'group', 'task']) ->catchSearch() ->catchOrder() - ->field(['used_time', 'error_message', 'crontab_log.status', 'crontab_log.id', 'crontab_log.created_at']) + ->field(['used_time', 'error_message', $this->aliasField('status'), $this->aliasField('id'), $this->aliasField('created_at')]) ->paginate(); } -} \ No newline at end of file +}