Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jiaoyou_doc
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
jixudong
jiaoyou_doc
Commits
c0d56510
Commit
c0d56510
authored
Sep 01, 2020
by
李进峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
a6860fb6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
73 additions
and
0 deletions
+73
-0
user_statistic.md
app_doc/user_statistic.md
+72
-0
work_data_api.md
app_doc/work_data_api.md
+1
-0
No files found.
app_doc/user_statistic.md
0 → 100644
View file @
c0d56510
-
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
app_doc/work_data_api.md
View file @
c0d56510
...
@@ -112,6 +112,7 @@ SUCCESS:
...
@@ -112,6 +112,7 @@ SUCCESS:
"标签2"
"标签2"
]
]
"totalComment": // Number;评论的总数
"totalComment": // Number;评论的总数
}
}
}
FAILTURE:
FAILTURE:
(1).
(1).
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment