[TOC]
## 任务列表
~~~[api]
post:/task/list
<<<
请求内容
{
'page':1,
'limit':10
}
<<<
返回结果
{
"code": 0,
"info": "成功",
"data": {
"count": 12,
"list": [{
"id": 1,
"create_date": "2018-09-28 16:11:09",
"remark": "后端版本升级",
"time": "2018-12-12",
…
}, {
"id": 3,
"create_date": "2018-09-28 16:12:33",
"remark": "PC端版本升级",
"time": "2018-12-12",
…
}, {
"id": 4,
"create_date": "2018-09-28 16:13:26",
"remark": "PC端版本升级",
"time": "2018-12-12",
…
}]
}
}
~~~
## 任务内容列表
~~~[api]
post:/task/gettasklist
<<<
请求内容
{
"id":2
}
<<<
返回结果
{
"code": 0,
"info": "成功",
"data": {
"id": 3,
"create_date": "2018-09-28 16:12:33",
"remark": "PC端版本升级",
"time": "2018-12-12",
"start_time": "00:00:01",
"end_time": "01:00:00",
"state": 0,
"version": "1.3.7",
"version_type": "a3",
"version_kind": "PC端",
"children": [{
"id": 4,
"state": 0,
"start_time": 0,
"end_time": 0,
"customer_name": "鑫诺"
}, {
"id": 3,
"state": 0,
"start_time": 0,
"end_time": 0,
"customer_name": "博科"
}]
}
}
~~~
## 删除任务
~~~[api]
post:/task/deltask
<<<
请求内容
{
"id":1 //id
}
<<<
返回结果
{
"code": 0,
"info": "success",
"data": null
}
~~~
## 删除任务内容
~~~[api]
post:/task/deltasklist
<<<
请求内容
{
"id":1 //id
}
<<<
返回结果
{
"code": 0,
"info": "success",
"data": null
}
~~~