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
5367a78b
Commit
5367a78b
authored
Mar 07, 2022
by
李进峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
1c3a4d41
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
251 additions
and
0 deletions
+251
-0
2022-03-07.md
app_doc/2022-03-07.md
+251
-0
No files found.
app_doc/2022-03-07.md
0 → 100644
View file @
5367a78b
-
基本地址
-
测试环境: http://api-pre.heyqiwu.cn:18082
-
生产环境: http://api-pro.heyqiwu.cn:18082
#### 存档历史多选删除
URL: {基本地址}/api/user/history/multi
METHOD: DELETE
Headers:
| key | description |
| :----------- | :------------: | :-----------: |
| Content-Type | application/json;charset=utf-8;必填 |
| App-Channel-Id | 渠道ID;必填 |
| ApiToken | 交游ApiToken;必填 |
RequestParams:
| Key | Describe |
| :----------- | :------------: |
| userId | 用户ID用于负载均衡;必填 |
RequestBody:
```
json
{
"workNames"
:[
//
作品名称列表
"换身改命"
,
"妖刀异闻录"
]
}
```
ResponseBody:
```
json
{
"code"
:
1
,
"msg"
:
"成功"
,
"data"
:
null
}
```
Example:
```
curl --location --request DELETE 'http://api-pre.heyqiwu.cn:18082/api/user/history/multi?userId=6225710ea02e910001f6f90c' \
--header 'App-Channel-Id: sgtcv2-watch-sdk-test' \
--header 'ApiToken: f639fedd-d786-4619-9239-5913428473aa' \
--header 'Content-Type: application/json' \
--data-raw '{
"workNames":[
"换身改命",
"妖刀异闻录"
]
}'
```
#### 多选收藏作品
URL: {基本地址}/api/favorite/multi
METHOD: POST
Headers:
| key | description |
| :----------- | :------------: | :-----------: |
| Content-Type | application/json;charset=utf-8;必填 |
| App-Channel-Id | 渠道ID;必填 |
| ApiToken | 交游ApiToken;必填 |
RequestParams:
| Key | Describe |
| :----------- | :------------: |
| userId | 用户ID;必填 |
RequestBody:
```
json
{
"workNames"
:[
//
作品名称列表
"换身改命"
,
"妖刀异闻录"
]
}
```
ResponseBody:
```
json
{
"code"
:
1
,
"msg"
:
"成功"
,
"data"
:
null
}
```
Example:
```
curl --location --request POST 'api-pre.heyqiwu.cn:18082/api/favorite/multi?userId=6225710ea02e910001f6f90c' \
--header 'App-Channel-Id: sgtcv2-watch-sdk-test' \
--header 'ApiToken: f639fedd-d786-4619-9239-5913428473aa' \
--header 'Content-Type: application/json' \
--data-raw '{
"workNames":[
"换身改命",
"妖刀异闻录"
]
}'
```
#### 多选删除收藏作品
URL: {基本地址}/api/favorite/multi
METHOD: DELETE
Headers:
| key | description |
| :----------- | :------------: | :-----------: |
| Content-Type | application/json;charset=utf-8;必填 |
| App-Channel-Id | 渠道ID;必填 |
| ApiToken | 交游ApiToken;必填 |
RequestParams:
| Key | Describe |
| :----------- | :------------: |
| userId | 用户ID;必填 |
RequestBody:
```
json
{
"workNames"
:[
//
作品名称列表
"换身改命"
,
"妖刀异闻录"
]
}
```
ResponseBody:
```
json
{
"code"
:
1
,
"msg"
:
"成功"
,
"data"
:
null
}
```
Example:
```
curl --location --request DELETE 'api-pre.heyqiwu.cn:18082/api/favorite/multi?userId=6225710ea02e910001f6f90c' \
--header 'App-Channel-Id: sgtcv2-watch-sdk-test' \
--header 'ApiToken: f639fedd-d786-4619-9239-5913428473aa' \
--header 'Content-Type: application/json' \
--data-raw '{
"workNames":[
"换身改命",
"妖刀异闻录"
]
}'
```
#### 获取多个作品信息
URL: {基本地址}/api/workInfo/multi
METHOD: GET
Headers:
| key | description |
| :----------- | :------------: | :-----------: |
| Content-Type | application/json;charset=utf-8;必填 |
| App-Channel-Id | 渠道ID;必填 |
RequestParams:
| Key | Describe |
| :----------- | :------------: |
| botAccounts | 作品ID,多个用英文逗号隔开;必填 |
ResponseBody:
```
json
{
"code"
:
1
,
"msg"
:
"成功"
,
"data"
:
[
//
作品信息列表
{
"workname"
:
"换身改命"
,
//
作品名称
"authorname"
:
"灵"
,
//
作者姓名
"intro"
:
"你叫楚穆,二十三岁,死亡后穿越到另一个异世界,你需要顶替着原主的身份在异世界改变原主一家人的命运,才能够获得重生。你没想到的是,在改变别人命运的同时,你自己也被牵扯了进去。在另一个世界,有那么一个人,和你是如此的相像。"
,
//
作品简介
"preface"
:
"想知道自己死亡后会怎么样吗?穿越到另一个世界又会有这样的生活?你相信吗?在另一个世界,有那么一个人,和你是如此的相像。"
,
//
作者说
"labels"
:
[
//
标签列表
"重生"
,
"New"
,
"男性向"
,
"学生"
,
"穿越"
,
"王权"
,
"大人"
,
"朝堂"
,
"架空"
,
"王权朝堂"
],
"totalComment"
:
0
,
//
评论数
"applyTime"
:
1646618674000
,
//
上线时间
,
毫秒级时间戳
"flowerNum"
:
0
,
//
送花的总数
"favoriteNum"
:
0
,
// 收藏总数
"hotNum"
:
0
,
//
访问次数
"bannerImgUrl"
:
"http://api-pre.heyqiwu.cn/media/juben2b01251/img/boVSGUu1646630303251_cover_detail_page_4x3.jpg"
//
封面图片
},
{
"workname"
:
"印梦疑云"
,
"authorname"
:
"小卢"
,
"intro"
:
"在近未来的社会,“梦”已经不只是存在于脑海中一醒即逝的虚幻,而是能够通过印梦机器制造出来,成为一个看得见摸得着,实实在在的物体,并且还能被他人吸收。因此,“梦”成为了商品,也同时成为了警方破案的途径……
\n
你名叫昆尼,是天雨市公安局刑事侦查三小队的专业控梦师。平时工作是通过印梦机器在梦境中自由穿梭,获得固定视角无法获得的信息,协助警方尽快破案。
\n
你接手的第一案,便是发生在天启造梦店的一宗离奇事件:一个月前,某出租屋发生命案,凶手未能找到。一个月后,记录了凶手行凶全过程的梦竟莫名出现在商店里!为何如此?动机是什么?凶手究竟是谁?
\n
你需要结合现实调查与梦境穿梭,凭借层层推理搜证,找到真相!"
,
"preface"
:
"希望大家能够在这部设定系作品中感受到本格悬疑逻辑推理的魅力,祝各位狩猎愉快。"
,
"labels"
:
[
"New"
,
"男性向"
,
"推理"
,
"学生"
,
"侦探"
,
"女性向"
,
"解谜"
,
"大人"
,
"悬疑"
,
"架空"
],
"totalComment"
:
0
,
"applyTime"
:
1646286471000
,
"flowerNum"
:
0
,
"favoriteNum"
:
0
,
"hotNum"
:
0
,
"bannerImgUrl"
:
"http://api-pre.heyqiwu.cn/media/gz33botceshiyinmeng283289373/img/mWFKrVP1646285436779_cover_detail_page_4x3.jpeg"
}
]
}
```
Example:
```
curl --location --request GET 'api-pre.heyqiwu.cn:18082/api/workInfo/multi?botAccounts=juben2b01251,gz33botceshiyinmeng283289373' \
--header 'App-Channel-Id: sgtcv2-watch-sdk-test' \
--header 'Content-Type: application/json' \
--data-raw '{
"botAccounts":[
"juben2b01251",
"gz33botceshiyinmeng283289373"
]
}'
```
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