菜单

修改循环任务

使用说明

修改循环任务。

请求说明

POST /api/v1/automation/savePlan

请求参数

参数 类型 必需 说明
id string 任务ID,可通过循环任务列表获取
images array 任务数据
name string 任务名称
remark string 备注

images

参数 类型 必需 说明
image_id string 云手机ID
start_at string 开始时间
end_at string 结束时间
execute_type string 执行频率(1:间隔,2:每天, 3:每周,4:每月)
gap_time int 间隔时间(execute_type为1必传)
execute_time string 执行开始时间(execute_type为2、3、4必传)
execute_end_time string 执行结束时间(execute_type为2、3、4且mode为2时必传)
mode int 模式(1:单次执行 2:循环执行),execute_type为2、3、4必传)
weeks array 周天数(execute_type为3必传)
days array 月天数(execute_type为4必传)

请求示例

json 复制代码
{
    "id": "xxx",
    "name": "任务名称",
    "remark": "备注信息",
    "images": [
        {
            "image_id": "AIZ3k",
            "start_at": "2025-12-11 17:38",
            "end_at": "2025-12-25 18:08",
            "execute_type": 4,
            "gap_time": 20,
            "execute_time": "15:11",
            "execute_end_time": "18:00",
            "mode": 2,
            "weeks":["1","2","3","4","5"],
            "days": ["10","15","20","25"]
        }
    ]
}

返回示例

json 复制代码
{
    "code": 200,
    "data": {
        "id": "xxxx"
    },
    "message": "Success"
}
上一个
循环任务列表
下一个
暂停/开始执行循环任务
最近修改: 2026-01-23Powered by