文档
测试

往期回顾

POST
http://localhost:8070/v1.0/api/report/select

请求头

参数名
类型
描述
必填
token
string
示例:dafjc0Gq7c4cdb/0ZhcQUU6suU7Whp/KrYKYozvSJVpX3yWW+PdetO7wzy1Yn3taH/iDXpq1ZAx2Lh1YEtTIR+5R8xVrLOl3PgO/aJV5kKE=
必填

请求参数

参数名
类型
描述
必填
selectId
int
示例:5 (搜索类型 1:全部时间 2:半年前 3:三个月前 4:一个月前 5:最近一个月
必填

响应参数

参数名
类型
描述
必填
code
int
示例:200 (注释查看生成周报【普通用户】
必填
data
array
数据列表
必填
id
int
示例:11
必填
userId
int
示例:8
必填
createTime
string
示例:2022-07-03 23:59:59
必填
status
int
示例:1
必填
type
int
示例:2
必填
useId
int
示例:3
必填
weekUseIds
string
示例:3
必填
useSumId
int
示例:1
必填
startTime
object
示例:null
必填
endTime
object
示例:null
必填
proportion
object
示例:null
必填
maxUse
object
数据字典
必填
id
int
示例:3
必填
userId
int
示例:8
必填
name
string
示例:微信
必填
icon
string
示例:http://sfjkawa
必填
createTime
int
示例:1656484146000
必填
useTime
int
示例:182632
必填
startTime
int
示例:1656570065000
必填
endTime
int
示例:1656570065000
必填
packageName
string
示例:aa
必填
weekMaxUse
array
数据列表
必填
id
int
示例:3
必填
userId
int
示例:8
必填
name
string
示例:微信
必填
icon
string
示例:http://sfjkawa
必填
createTime
int
示例:1656484146000
必填
useTime
int
示例:182632
必填
startTime
int
示例:1656570065000
必填
endTime
int
示例:1656570065000
必填
packageName
string
示例:aa
必填
useSum
object
数据字典
必填
id
int
示例:1
必填
useSumTime
int
示例:182632
必填
userId
int
示例:8
必填
type
int
示例:2
必填
name
string
示例:微信
必填
icon
object
示例:null
必填
packageName
string
示例:aa
必填
createTime
int
示例:1656469476000
必填
message
string
示例:操作成功
必填

说明 / 示例

{ "code": 200, "data": [ { "id": 11, "userId": 8, "createTime": "2022-07-03 23:59:59", "status": 1, "type": 2, "useId": 3, "weekUseIds": "3", "useSumId": 1, "startTime": null, "endTime": null, "proportion": null, "maxUse": { "id": 3, "userId": 8, "name": "微信", "icon": "http://sfjkawa", "createTime": 1656484146000, "useTime": 182632, "startTime": 1656570065000, "endTime": 1656570065000, "packageName": "aa" }, "weekMaxUse": [ { "id": 3, "userId": 8, "name": "微信", "icon": "http://sfjkawa", "createTime": 1656484146000, "useTime": 182632, "startTime": 1656570065000, "endTime": 1656570065000, "packageName": "aa" } ], "useSum": { "id": 1, "useSumTime": 182632, "userId": 8, "type": 2, "name": "微信", "icon": null, "packageName": "aa", "createTime": 1656469476000 } } ], "message": "操作成功" }