简要描述:
请求域名:
- https://dev8.yunzmall.com/business/1/
请求URL:
GET/plugin/project-manager/projectDetail/archiveTask
参数:
参数名 |
是否必须 |
类型 |
说明 |
project_id |
是 |
int |
项目ID |
返回示例:
正确时返回:
{
"result": 1,
"msg": "",
"data": {
"list": {
"current_page": 1,
"data": [
{
"id": 3,
"project_id": 7,
"create_uid": 89,
"archive_uid": 89,
"parent_id": 0,
"name": "测试任务2",
"status": 0,
"is_archive": 1,
"sort": 0,
"archive_time": "2022-05-08 05:54:52",
"created_at": "2022-04-26 18:54:52",
"sub_count": 0,
"status_body": {
"id": 0,
"name": "未开始",
"color": "#a7cfae",
"icon": "",
"desc": ""
},
"priority_name": "无",
"has_one_creator": {
"id": 89,
"name": "蓝思婷",
"avatar": "http://wework.qpic.cn/bizmail/BTFDs5vJvVVMvDZPbsf4ibjP3lOkBGoYD9ssvbhPVahTYnqsyVibe70A/0",
"userid": null,
"avatar_mediaid": "http://wework.qpic.cn/bizmail/BTFDs5vJvVVMvDZPbsf4ibjP3lOkBGoYD9ssvbhPVahTYnqsyVibe70A/0"
},
"has_one_archive": {
"id": 89,
"name": "蓝思婷",
"avatar": "http://wework.qpic.cn/bizmail/BTFDs5vJvVVMvDZPbsf4ibjP3lOkBGoYD9ssvbhPVahTYnqsyVibe70A/0",
"userid": null,
"avatar_mediaid": "http://wework.qpic.cn/bizmail/BTFDs5vJvVVMvDZPbsf4ibjP3lOkBGoYD9ssvbhPVahTYnqsyVibe70A/0"
}
}
],
"first_page_url": "https://dev8.yunzmall.com/business/1/plugin/project-manager/projectDetail/archiveTask?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "https://dev8.yunzmall.com/business/1/plugin/project-manager/projectDetail/archiveTask?page=1",
"next_page_url": null,
"path": "https://dev8.yunzmall.com/business/1/plugin/project-manager/projectDetail/archiveTask",
"per_page": 20,
"prev_page_url": null,
"to": 1,
"total": 1
}
}
}
错误时返回:
{
"result": 0,
"msg": "",
"data": []
}
list返回参数说明:
参数名 |
类型 |
说明 |
id |
int |
任务编号 |
name |
string |
任务名称 |
start_time |
string |
任务开始时间 |
deadline_time |
string |
任务截止时间 |
has_one_staff |
obj |
任务负责人对象 |
sub_count |
int |
子任务数量 |
has_one_project.name |
obj |
任务所属项目名称 |
has_one_creator |
array |
任务创建人信息 |
has_one_archive |
array |
任务归档人信息 |
status_body参数说明:
参数名 |
类型 |
说明 |
id |
int |
状态ID |
name |
string |
标签名称 |
color |
string |
状态颜色 |
icon |
string |
标签图标 |
has_one_staff参数说明:
参数名 |
类型 |
说明 |
id |
int |
员工ID |
name |
string |
员工名称 |
avatar |
string |
员工头像 |
has_one_creator参数说明:
参数名 |
类型 |
说明 |
id |
int |
员工ID |
name |
string |
员工名称 |
avatar |
string |
员工头像 |
has_one_archive参数说明:
参数名 |
类型 |
说明 |
id |
int |
员工ID |
name |
string |
员工名称 |
avatar |
string |
员工头像 |
备注: