文档
测试

获取首页待办事项

POST
/schedule/list

接口描述

首页和列表页的待办事项都用此接口,page&total不传默认就是首页数据

请求头

参数名
类型
描述
必填
token
string
登陆验证token
必填
page
int
页码,默认:1
必填
total
int
查询数量,默认:5
必填
is_state
int
1是未完成/2是已完成(默认是1)列表页使用字段
必填

响应参数

参数名
类型
描述
必填
id
int
唯一ID
必填
title
string
标题
必填
start_date
date
任务的开始时间
必填
end_date
date
任务的结束时间
必填
content
string
任务内容
必填
operator_id
暂定-可能还会有operator_name相关字段,主要是保障人相关人的字段
必填

说明 / 示例

``` { "code": 200, "data": [ { "id": 1, "title": "提币管理", "start_date": "2020-05-16 08:00:00", "end_date": "2020-05-24 08:00:00", "content": "发违法威锋网额访问", "operator_id": "1" }, { "id": 2, "title": "啊大大大大大大", "start_date": "2020-05-16 08:00:00", "end_date": "2020-05-24 10:00:00", "content": "内容", "operator_id": "1" } ], "msg": "成功" } ```