任务列表接口
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>任务列表接口</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>/api/task/</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>GET</li>
</ul>
<h5>返回示例</h5>
<pre><code>{
"code": 0,
"msg": "获取列表成功",
"data": [
{
"id": 96,
"title": "微前端—qiankun的摸索",
"description": "",
"pond": 6,
"importance": -4,
"urgency": 5,
"start_date": "2022-01-15T08:58:22.000Z",
"end_date": "2022-01-15T08:58:22.000Z",
"sort": 1
},
{
"id": 93,
"title": "数据结构与算法",
"description": "",
"pond": 6,
"importance": 5,
"urgency": 5,
"start_date": "2022-01-15T08:56:04.000Z",
"end_date": "2022-01-15T08:56:04.000Z",
"sort": 1
}
]
}</code></pre>
<h5>返回参数说明</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">pond</td>
<td style="text-align: left;">int</td>
<td>任务池id,1:计划池;2:就绪池;3:执行池;4:验收池;5:酱油池;6:阻塞池;7:完成池</td>
</tr>
<tr>
<td style="text-align: left;">importance</td>
<td style="text-align: left;">int</td>
<td>重要程度</td>
</tr>
<tr>
<td style="text-align: left;">urgency</td>
<td style="text-align: left;">int</td>
<td>紧急程度</td>
</tr>
</tbody>
</table>