Commit bc3b9fc5 by 甘术超

提交文档

parent 5c4431cf
##### 修改分类标签 ##### 修改分类标签
...@@ -2,15 +2,24 @@ ...@@ -2,15 +2,24 @@
URL: http://root@hw-gz26.heyqiwu.cn:8089/story/edit/data/updateLabel URL: http://root@hw-gz26.heyqiwu.cn:8089/story/edit/data/updateLabel
METHOD: GET METHOD: PUT
RequestHeaders: RequestHeaders:
| key | value | | key | value |
| :----------- | :------------: | | :----------- | :------------: |
| Content-Type | application/json;charset=utf-8 | | Content-Type | application/json;charset=utf-8 |
| id | 标签ID(必填) |
| labelName | 标签名称(必填) |
ReqeustParams:
| :----------- | :------------:
requestBody:
```
{
"id":"1",//标签ID(必填)
"labelName":"女童"//标签名称(必填)
}
responseBody: responseBody:
``` ```
......
##### 修改标签分类 ##### 修改标签分类
...@@ -2,15 +2,23 @@ ...@@ -2,15 +2,23 @@
URL: http://root@hw-gz26.heyqiwu.cn:8089/story/edit/data/updateLabelCategory URL: http://root@hw-gz26.heyqiwu.cn:8089/story/edit/data/updateLabelCategory
METHOD: GET METHOD: PUT
RequestHeaders: RequestHeaders:
| key | value | | key | value |
| :----------- | :------------: | | :----------- | :------------: |
| Content-Type | application/json;charset=utf-8 | | Content-Type | application/json;charset=utf-8 |
| id | 分类ID(必填) |
| categoryName | 分类名称(必填) | ReqeustParams:
| :----------- | :------------:
requestBody:
```
{
"id":"1",//分类ID(必填)
"categoryName":"年级"//分类名称(必填)
}
responseBody: responseBody:
``` ```
......
##### 修改音频系列 ##### 修改音频系列
...@@ -2,15 +2,23 @@ ...@@ -2,15 +2,23 @@
URL: http://root@hw-gz26.heyqiwu.cn:8089/story/edit/data/updateEditCategorySeries URL: http://root@hw-gz26.heyqiwu.cn:8089/story/edit/data/updateEditCategorySeries
METHOD: GET METHOD: PUT
RequestHeaders: RequestHeaders:
| key | value | | key | value |
| :----------- | :------------: | | :----------- | :------------: |
| Content-Type | application/json;charset=utf-8 | | Content-Type | application/json;charset=utf-8 |
| id | 系列ID(必填) |
| seriesName | 系列名称(必填) | ReqeustParams:
| :----------- | :------------:
requestBody:
```
{
"id":"1",//系列ID(必填)
"seriesName":"睡眠"//系列名称(必填)
}
responseBody: responseBody:
``` ```
......
##### 删除分类标签 ##### 删除分类标签
...@@ -2,14 +2,22 @@ ...@@ -2,14 +2,22 @@
URL: http://root@hw-gz26.heyqiwu.cn:8089/story/edit/data/deleteLabel URL: http://root@hw-gz26.heyqiwu.cn:8089/story/edit/data/deleteLabel
METHOD: GET METHOD: DELETE
RequestHeaders: RequestHeaders:
| key | value | | key | value |
| :----------- | :------------: | | :----------- | :------------: |
| Content-Type | application/json;charset=utf-8 | | Content-Type | application/json;charset=utf-8 |
| id | 标签ID(必填) |
ReqeustParams:
| :----------- | :------------:
requestBody:
```
{
"id":"1"//标签ID(必填
}
responseBody: responseBody:
``` ```
......
##### 删除标签分类 ##### 删除标签分类
...@@ -2,14 +2,22 @@ ...@@ -2,14 +2,22 @@
URL: http://root@hw-gz26.heyqiwu.cn:8089/story/edit/data/deleteLabelCategory URL: http://root@hw-gz26.heyqiwu.cn:8089/story/edit/data/deleteLabelCategory
METHOD: GET METHOD: DELETE
RequestHeaders: RequestHeaders:
| key | value | | key | value |
| :----------- | :------------: | | :----------- | :------------: |
| Content-Type | application/json;charset=utf-8 | | Content-Type | application/json;charset=utf-8 |
| id | 分类ID(必填) |
ReqeustParams:
| :----------- | :------------:
requestBody:
```
{
"id":"1"//分类ID(必填)
}
responseBody: responseBody:
``` ```
......
##### 删除编辑数据专辑 ##### 删除编辑数据专辑
...@@ -2,15 +2,23 @@ ...@@ -2,15 +2,23 @@
URL: http://root@hw-gz26.heyqiwu.cn:8089/story/edit/data/deleteEditSeriesAlbum URL: http://root@hw-gz26.heyqiwu.cn:8089/story/edit/data/deleteEditSeriesAlbum
METHOD: GET METHOD: DELETE
RequestHeaders: RequestHeaders:
| key | value | | key | value |
| :----------- | :------------: | | :----------- | :------------: |
| Content-Type | application/json;charset=utf-8 | | Content-Type | application/json;charset=utf-8 |
| seriesId | 系列ID(必填) |
| albumId | 专辑ID(必填) | ReqeustParams:
| :----------- | :------------: |
requestBody:
```
{
"seriesId":"1",//系列ID(必填)
"albumId":"2"//专辑ID(必填)
}
responseBody: responseBody:
``` ```
......
##### 删除编辑数据专辑标签 ##### 删除编辑数据专辑标签
...@@ -2,15 +2,23 @@ ...@@ -2,15 +2,23 @@
URL: http://root@hw-gz26.heyqiwu.cn:8089/story/edit/data/deleteEditAlbumLabel URL: http://root@hw-gz26.heyqiwu.cn:8089/story/edit/data/deleteEditAlbumLabel
METHOD: GET METHOD: DELETE
RequestHeaders: RequestHeaders:
| key | value | | key | value |
| :----------- | :------------: | | :----------- | :------------: |
| Content-Type | application/json;charset=utf-8 | | Content-Type | application/json;charset=utf-8 |
| labelId | 标签ID(必填) |
| albumId | 专辑ID(必填) | ReqeustParams:
| :----------- | :------------: |
requestBody:
```
{
"labelId":"",//标签ID(必填)
"albumId":""//专辑ID(必填)
}
responseBody: responseBody:
``` ```
......
##### 删除音频系列 ##### 删除音频系列
...@@ -2,14 +2,22 @@ ...@@ -2,14 +2,22 @@
URL: http://root@hw-gz26.heyqiwu.cn:8089/story/edit/data/deleteEditCategorySeries URL: http://root@hw-gz26.heyqiwu.cn:8089/story/edit/data/deleteEditCategorySeries
METHOD: GET METHOD: DELETE
RequestHeaders: RequestHeaders:
| key | value | | key | value |
| :----------- | :------------: | | :----------- | :------------: |
| Content-Type | application/json;charset=utf-8 | | Content-Type | application/json;charset=utf-8 |
| id | 系列ID(必填) |
ReqeustParams:
| :----------- | :------------:
requestBody:
```
{
"id":"1"//系列ID(必填)
}
responseBody: responseBody:
``` ```
......
##### 新增分类标签 ##### 新增分类标签
##### 新增分类标签 ##### 新增分类标签
URL: http://root@hw-gz26.heyqiwu.cn:8089/story/edit/data/addLabelCategory URL: http://root@hw-gz26.heyqiwu.cn:8089/story/edit/data/addLabel
METHOD: GET METHOD: POST
RequestHeaders: RequestHeaders:
| key | value | | key | value |
| :----------- | :------------: | | :----------- | :------------: |
| Content-Type | application/json;charset=utf-8 | | Content-Type | application/json;charset=utf-8 |
| id | 分类ID(必填) |
| categoryName | 分类名称(必填) |
ReqeustParams:
| :----------- | :------------:
requestBody:
```
{
"categoryId":"1",//分类ID(必填)
"categoryName":"性别",//分类名称(必填)
"labelName":"男童"//标签名称(必填)
}
responseBody: responseBody:
``` ```
SUCCESS: SUCCESS:
......
##### 新增标签分类 ##### 新增标签分类
...@@ -2,14 +2,22 @@ ...@@ -2,14 +2,22 @@
URL: http://root@hw-gz26.heyqiwu.cn:8089/story/edit/data/addLabelCategory URL: http://root@hw-gz26.heyqiwu.cn:8089/story/edit/data/addLabelCategory
METHOD: get METHOD: POST
RequestHeaders: RequestHeaders:
| key | value | | key | value |
| :----------- | :------------: | | :----------- | :------------: |
| Content-Type | application/json;charset=utf-8 | | Content-Type | application/json;charset=utf-8 |
| categoryName | 分类名(必填) |
ReqeustParams:
| :----------- | :------------:
requestBody:
```
{
"categoryName":"性别"//分类名(必填)
}
responseBody: responseBody:
``` ```
......
##### 新增编辑数据专辑标签 ##### 新增编辑数据专辑标签
...@@ -2,17 +2,26 @@ ...@@ -2,17 +2,26 @@
URL: http://root@hw-gz26.heyqiwu.cn:8089/story/edit/data/addEditAlbumLabel URL: http://root@hw-gz26.heyqiwu.cn:8089/story/edit/data/addEditAlbumLabel
METHOD: get METHOD: POST
RequestHeaders: RequestHeaders:
| key | value | | key | value |
| :----------- | :------------: | | :----------- | :------------: |
| Content-Type | application/json;charset=utf-8 | | Content-Type | application/json;charset=utf-8 |
| labelId | 标签ID(必填) |
| labelName | 标签名称(必填) | ReqeustParams:
| albumId | 专辑ID(选填) | | :----------- | :------------:
| albumName | 专辑名称(必填) |
requestBody:
```
{
"labelId":"1",// 标签ID(必填)
"labelName":"男童",//标签名称(必填)
"albumId":"1",//专辑ID(必填)
"albumName":"米小圈"//专辑名称(必填)
}
responseBody: responseBody:
``` ```
SUCCESS: SUCCESS:
......
##### 新增编辑数据系列专辑 ##### 新增编辑数据系列专辑
...@@ -9,27 +9,26 @@ RequestHeaders: ...@@ -9,27 +9,26 @@ RequestHeaders:
| key | value | | key | value |
| :----------- | :------------: | | :----------- | :------------: |
| Content-Type | application/json;charset=utf-8 | | Content-Type | application/json;charset=utf-8 |
| seriesId | 系列ID(必填) |
| seriesName | 系列名称(必填) |
| albumId | 专辑ID(选填) |
| albumName | 专辑名称(必填) |
| tags | 标签(有必填) |
| ageFrom | 年龄开始(有必填) |
| ageTo | 年龄结束(有必填) |
responseBody: ReqeustParams:
| :----------- | :------------:
requestBody:
```
[ [
{ {
"albumId":"100", "albumId":"100",//专辑ID
"albumName":"世界名曲", "albumName":"世界名曲",//专辑名称
"tags":"[综合素质, 其他语言, 科普, 6岁以上, 音乐]", "tags":"[综合素质, 其他语言, 科普, 6岁以上, 音乐]",//专辑标签
"albumAgeFrom":"6", "albumAgeFrom":"6",//开始年龄
"albumAgeTo":"99", "albumAgeTo":"99",//结束年龄
"seriesId":"2", "seriesId":"2",//系列ID
"seriesName":"三国" "seriesName":"三国"//系列名称
} }
] ]
responseBody:
``` ```
SUCCESS: SUCCESS:
{ {
......
##### 新建音频分类 ##### 新建音频分类
...@@ -2,14 +2,22 @@ ...@@ -2,14 +2,22 @@
URL: http://root@hw-gz26.heyqiwu.cn:8089/story/edit/data/addEditCategory URL: http://root@hw-gz26.heyqiwu.cn:8089/story/edit/data/addEditCategory
METHOD: GET METHOD: POST
RequestHeaders: RequestHeaders:
| key | value | | key | value |
| :----------- | :------------: | | :----------- | :------------: |
| Content-Type | application/json;charset=utf-8 | | Content-Type | application/json;charset=utf-8 |
| categoryName | 分类名称(必填) |
ReqeustParams:
| :----------- | :------------:
requestBody:
```
{
"categoryName":"故事"//分类名称(必填)
}
responseBody: responseBody:
``` ```
......
##### 新建音频系列 ##### 新建音频系列
...@@ -2,16 +2,24 @@ ...@@ -2,16 +2,24 @@
URL: http://root@hw-gz26.heyqiwu.cn:8089/story/edit/data/addEditCategorySeries URL: http://root@hw-gz26.heyqiwu.cn:8089/story/edit/data/addEditCategorySeries
METHOD: GET METHOD: POST
RequestHeaders: RequestHeaders:
| key | value | | key | value |
| :----------- | :------------: | | :----------- | :------------: |
| Content-Type | application/json;charset=utf-8 | | Content-Type | application/json;charset=utf-8 |
| seriesName | 系列名称(必填) |
| categoryId | 分类ID(必填) | ReqeustParams:
| categoryName | 分类名称(必填) | | :----------- | :------------:
requestBody:
```
{
"seriesName":"学习",//系列名称(必填)
"categoryId":"1",//分类ID(必填)
"categoryName":"故事"//分类名称(必填)
}
responseBody: responseBody:
``` ```
......
##### 查看原始数据专辑 ##### 查看原始数据专辑
...@@ -9,12 +9,18 @@ RequestHeaders: ...@@ -9,12 +9,18 @@ RequestHeaders:
| key | value | | key | value |
| :----------- | :------------: | | :----------- | :------------: |
| Content-Type | application/json;charset=utf-8 | | Content-Type | application/json;charset=utf-8 |
ReqeustParams:
| :----------- | :------------: |
| pageNum | 页数(必填) | | pageNum | 页数(必填) |
| pageSize | 页大小(必填) | | pageSize | 页大小(必填) |
| id | 数据ID查询条件(选填) | | id | 数据ID查询条件(选填) |
| albumId | 专辑ID查询条件(选填) | | albumId | 专辑ID查询条件(选填) |
| albumName | 专辑名称查询条件(选填) | | albumName | 专辑名称查询条件(选填) |
requestBody:
```
responseBody: responseBody:
``` ```
SUCCESS: SUCCESS:
......
##### 查看原始数据专辑故事 ##### 查看原始数据专辑故事
...@@ -9,6 +9,9 @@ RequestHeaders: ...@@ -9,6 +9,9 @@ RequestHeaders:
| key | value | | key | value |
| :----------- | :------------: | | :----------- | :------------: |
| Content-Type | application/json;charset=utf-8 | | Content-Type | application/json;charset=utf-8 |
ReqeustParams:
| :----------- | :------------: |
| pageNum | 页数(必填) | | pageNum | 页数(必填) |
| pageSize | 页大小(必填) | | pageSize | 页大小(必填) |
| id | 数据ID查询条件(选填) | | id | 数据ID查询条件(选填) |
...@@ -17,6 +20,9 @@ RequestHeaders: ...@@ -17,6 +20,9 @@ RequestHeaders:
| albumId | 专辑ID查询条件(选填) | | albumId | 专辑ID查询条件(选填) |
| albumName | 专辑名称查询条件(选填) | | albumName | 专辑名称查询条件(选填) |
requestBody:
```
responseBody: responseBody:
``` ```
SUCCESS: SUCCESS:
......
##### 查看分标签类 ##### 查看分标签类
...@@ -9,9 +9,14 @@ RequestHeaders: ...@@ -9,9 +9,14 @@ RequestHeaders:
| key | value | | key | value |
| :----------- | :------------: | | :----------- | :------------: |
| Content-Type | application/json;charset=utf-8 | | Content-Type | application/json;charset=utf-8 |
ReqeustParams:
| :----------- | :------------: |
| id | 分类ID查询条件(选填) | | id | 分类ID查询条件(选填) |
| categoryName | 分类名查询条件(选填) | | categoryName | 分类名查询条件(选填) |
requestBody:
```
responseBody: responseBody:
``` ```
......
##### XXXXXXXX ##### XXXXXXXX
...@@ -9,11 +9,17 @@ RequestHeaders: ...@@ -9,11 +9,17 @@ RequestHeaders:
| key | value | | key | value |
| :----------- | :------------: | | :----------- | :------------: |
| Content-Type | application/json;charset=utf-8 | | Content-Type | application/json;charset=utf-8 |
ReqeustParams:
| :----------- | :------------: |
| id | DEFAULT(选填) | | id | DEFAULT(选填) |
| seriesName | 查询条件(选填) | | seriesName | 查询条件(选填) |
| categoryId | 查询条件(选填) | | categoryId | 查询条件(选填) |
| categoryName | 查询条件(选填)) | | categoryName | 查询条件(选填)) |
requestBody:
```
responseBody: responseBody:
``` ```
SUCCESS: SUCCESS:
......
##### 查看编辑后数据系列专辑 ##### 查看编辑后数据系列专辑
...@@ -9,11 +9,18 @@ RequestHeaders: ...@@ -9,11 +9,18 @@ RequestHeaders:
| key | value | | key | value |
| :----------- | :------------: | | :----------- | :------------: |
| Content-Type | application/json;charset=utf-8 | | Content-Type | application/json;charset=utf-8 |
ReqeustParams:
| key | value |
| :----------- | :------------: |
| pageNum | 页数(必填) | | pageNum | 页数(必填) |
| pageSize | 页大小(必填) | | pageSize | 页大小(必填) |
| total | 数据条数(有必填) | | total | 数据条数(有必填) |
| pages | 总页数(有必填) | | pages | 总页数(有必填) |
requestBody:
```
responseBody: responseBody:
``` ```
SUCCESS: SUCCESS:
......
##### 查看编辑音频 ##### 查看编辑音频
...@@ -9,6 +9,9 @@ RequestHeaders: ...@@ -9,6 +9,9 @@ RequestHeaders:
| key | value | | key | value |
| :----------- | :------------: | | :----------- | :------------: |
| Content-Type | application/json;charset=utf-8 | | Content-Type | application/json;charset=utf-8 |
ReqeustParams:
| :----------- | :------------: |
| pageNum | 页数(必填) | | pageNum | 页数(必填) |
| pageSize | 页大小(必填) | | pageSize | 页大小(必填) |
| id | 数据ID查询条件(选填) | | id | 数据ID查询条件(选填) |
...@@ -17,6 +20,8 @@ RequestHeaders: ...@@ -17,6 +20,8 @@ RequestHeaders:
| storyId | 故事ID查询条件(选填) | | storyId | 故事ID查询条件(选填) |
| storyName | 故事名称查询条件(选填) | | storyName | 故事名称查询条件(选填) |
requestBody:
```
responseBody: responseBody:
``` ```
......
##### 查看音频分类 ##### 查看音频分类
...@@ -9,10 +9,16 @@ RequestHeaders: ...@@ -9,10 +9,16 @@ RequestHeaders:
| key | value | | key | value |
| :----------- | :------------: | | :----------- | :------------: |
| Content-Type | application/json;charset=utf-8 | | Content-Type | application/json;charset=utf-8 |
ReqeustParams:
| :----------- | :------------: |
| id | 查询条件(非必填) | | id | 查询条件(非必填) |
| categoryName | 查询条件(非必填) | | categoryName | 查询条件(非必填) |
| updateDate | 查询条件(非必填) | | updateDate | 查询条件(非必填) |
requestBody:
```
responseBody: responseBody:
``` ```
SUCCESS: SUCCESS:
......
##### 查询分类标签 ##### 查询分类标签
...@@ -9,9 +9,15 @@ RequestHeaders: ...@@ -9,9 +9,15 @@ RequestHeaders:
| key | value | | key | value |
| :----------- | :------------: | | :----------- | :------------: |
| Content-Type | application/json;charset=utf-8 | | Content-Type | application/json;charset=utf-8 |
ReqeustParams:
| :----------- | :------------: |
| id | 分类ID查询条件(选填) | | id | 分类ID查询条件(选填) |
| categoryName | 分类名查询条件(选填) | | categoryName | 分类名查询条件(选填) |
requestBody:
```
responseBody: responseBody:
``` ```
SUCCESS: SUCCESS:
......
##### 查看分类标签 ##### 查看分类标签
...@@ -9,11 +9,16 @@ RequestHeaders: ...@@ -9,11 +9,16 @@ RequestHeaders:
| key | value | | key | value |
| :----------- | :------------: | | :----------- | :------------: |
| Content-Type | application/json;charset=utf-8 | | Content-Type | application/json;charset=utf-8 |
ReqeustParams:
| :----------- | :------------: |
| id | 标签ID查询条件(选填) | | id | 标签ID查询条件(选填) |
| labelName | 标签名称查询条件(选填) | | labelName | 标签名称查询条件(选填) |
| categoryId | 分类ID查询条件(选填) | | categoryId | 分类ID查询条件(选填) |
| categoryName | 分类名查询条件(选填) | | categoryName | 分类名查询条件(选填) |
requestBody:
```
responseBody: responseBody:
``` ```
......
##### 根据ID修改音频分类 ##### 根据ID修改音频分类
...@@ -2,15 +2,23 @@ ...@@ -2,15 +2,23 @@
URL: http://root@hw-gz26.heyqiwu.cn:8089/story/edit/data/updateEditCategoryById URL: http://root@hw-gz26.heyqiwu.cn:8089/story/edit/data/updateEditCategoryById
METHOD: GET METHOD: PUT
RequestHeaders: RequestHeaders:
| key | value | | key | value |
| :----------- | :------------: | | :----------- | :------------: |
| Content-Type | application/json;charset=utf-8 | | Content-Type | application/json;charset=utf-8 |
| id | 分类ID(必填) |
| categoryName | 分类名称(必填) | ReqeustParams:
| :----------- | :------------: |
requestBody:
```
{
"id":"1",//分类ID(必填)
"categoryName":"故事"//分类名称(必填)
}
responseBody: responseBody:
``` ```
......
##### 根据ID删除音频分类 ##### 根据ID删除音频分类
...@@ -2,14 +2,22 @@ ...@@ -2,14 +2,22 @@
URL: http://root@hw-gz26.heyqiwu.cn:8089/story/edit/data/deleteEditCategoryById URL: http://root@hw-gz26.heyqiwu.cn:8089/story/edit/data/deleteEditCategoryById
METHOD: GET METHOD: DELETE
RequestHeaders: RequestHeaders:
| key | value | | key | value |
| :----------- | :------------: | | :----------- | :------------: |
| Content-Type | application/json;charset=utf-8 | | Content-Type | application/json;charset=utf-8 |
| id | 分类ID(必填) |
ReqeustParams:
| :----------- | :------------: |
requestBody:
```
{
"id":"1"//分类ID(必填)
}
responseBody: responseBody:
``` ```
......
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