This commit is contained in:
JaguarJack 2021-03-06 20:06:28 +08:00
commit 7b7f13536f

View File

@ -47,7 +47,7 @@ class CrontabLog extends CatchModel
return $this->catchLeftJoin(Crontab::class, 'id', 'crontab_id', ['name', 'group', 'task']) return $this->catchLeftJoin(Crontab::class, 'id', 'crontab_id', ['name', 'group', 'task'])
->catchSearch() ->catchSearch()
->catchOrder() ->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(); ->paginate();
} }
} }