update: more api

This commit is contained in:
v2board
2023-05-20 20:50:53 +08:00
parent 2f04505562
commit b20504a431
5 changed files with 277 additions and 27 deletions

View File

@ -22,7 +22,8 @@ class SystemController extends Controller
return response([
'data' => [
'schedule' => $this->getScheduleStatus(),
'horizon' => $this->getHorizonStatus()
'horizon' => $this->getHorizonStatus(),
'schedule_last_runtime' => Cache::get(CacheKey::get('SCHEDULE_LAST_CHECK_AT', null))
]
]);
}