add enable

This commit is contained in:
jyuesong
2022-01-13 18:50:54 +08:00
parent 6555031948
commit 51b745af19
5 changed files with 53 additions and 4 deletions

View File

@@ -7,6 +7,8 @@ class Url {
static const ADD_TASK = "/api/crons";
static const PIN_TASK = "/api/crons/pin";
static const UNPIN_TASK = "/api/crons/unpin";
static const ENABLE_TASK = "/api/crons/enable";
static const DISABLE_TASK = "/api/crons/disable";
static INTIME_LOG(String cronId) {
return "/api/crons/$cronId/log";