跳到主要内容
版本:latest

set_crontab_type

将选中的计划任务归入指定的分类中。

前置条件:需先通过 add_crontab_type 创建分类。

  • 路由POST /crontab
  • actionset_crontab_type

输入参数

参数名称必选类型描述
actionString固定值 set_crontab_type
idInteger分类 ID
crontab_idsStringJSON 数组,任务 ID 列表 [1,2,3]

示例

{"status": true, "msg": "设置成功"}

相关接口