我的任务-查询
GET
http://127.0.0.1:8888/task/acceptTask/1?type=2&pageIndex=1&pageNum=5
接口描述
查询的任务,带分页功能
请求参数
参数名
类型
描述
必填
type
int
type 可以未空,此时为查询全部, 其他状态为任务状态: 0:未通过, 1:已完成, 2:已提交
必填
pageIndex
int
示例:1
必填
pageNum
int
示例:5
必填
响应参数
参数名
类型
描述
必填
data
string
示例:
必填
accept_id
int
示例:接受任务的记录
必填
create_time
string
示例:Tue, 15 Sep 2020 01:20:27 GMT
必填
end_time
string
示例:1
必填
task_award
int
示例:1000000
必填
task_id
int
示例:3
必填
task_status
string
"任务状态: 0:未通过, 1:已完成, 2:已提交"
必填
task_target
string
示例:任务目标5
必填
user_id
int
示例:1
必填
msg
string
示例:success
必填
pageCount
int
示例:3
必填
pageIndex
string
示例:1
必填
pageNum
int
示例:5
必填
status
int
示例:1
必填