Commit c0d56510 by 李进峰

update

parent a6860fb6
- BaseUrl:
- 测试服: http://api-pre.heyqiwu.cn:18082
- 产品服: http://api-pro.heyqiwu.cn:18082
##### 获取统计信息
URL: baseUrl:18082/api/user/statistic
METHOD: GET
RequestBody:
```
{
"uid":"163",
"startTime":"2020-08-19",
"stopTime":"2020-08-20"
}
```
Headers:
| key | value |
| :----------- | :------------: |
| Content-Type | application/json;charset=utf-8 |
| App-Channel-Id | 渠道ID |
| ApiToken | 用户认证Token |
responseBody:
```
单个作品详情数据:
{
"workname": "寻找爱迪生", // 作品名
"authorname": "小荣", // 作者
"intro": "想知道发明大王爱迪生的故事吗,晓悟陪你一起去寻找他的故事吧", // 简介
"preface": "希望小朋友们能认识这些伟大的科学家并对他们心存敬意", // 作者有话说
"labels": [ // 作品标签
"穿越"
],
"totalComment": 0, // 总的评论数
"applyTime": 1583993708000, // 上线时间
"flowerNum": 0, // 送花数量
"favoriteNum": 4, // 收藏数量
"hotNum": 241, // 对话次数
"bannerImgUrl": "http://hw-gz24.heyqiwu.cn/Editor///upload/img/other/2019/11/18151036056.jpeg" // 作品封面
}
SUCCESS:
{
"code":1,
"msg":"成功",
"data":[ // 数据按照时间顺序
{
"visitedWorks":[ // 时间逆序排列
单个作品详情数据,
],
"talkCrycle": 32, // Integer 对话轮数
}
]
}
FAILTURE:
{
"code":10005,
"msg":"字段错误!",
"data":null
}
{
"code":20007,
"msg":"用户认证失败!",
"data":null
}
```
\ No newline at end of file
...@@ -112,6 +112,7 @@ SUCCESS: ...@@ -112,6 +112,7 @@ SUCCESS:
"标签2" "标签2"
] ]
"totalComment": // Number;评论的总数 "totalComment": // Number;评论的总数
}
} }
FAILTURE: FAILTURE:
(1). (1).
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment