Commit bc3b9fc5 by 甘术超

提交文档

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