From 05cc9935fcca4467aa4f7079e68d03aad0e8c3ef Mon Sep 17 00:00:00 2001 From: ganshuchao Date: Wed, 10 Mar 2021 20:01:43 +0800 Subject: [PATCH] 调整部分接口 --- storyBot_doc/修改查询标签集合(复件).md | 32 ++++++++++++++++++++++++++++++++ storyBot_doc/修改查询标签集合.md | 32 ++++++++++++++++++++++++++++++++ storyBot_doc/查看编辑后数据系列专辑.md | 1 + storyBot_doc/查看编辑后数据系列专辑用于从系列点进去.md | 1 + storyBot_doc/查询专辑标签集合.md | 26 ++++++++++++++++++++++++++ storyBot_doc/查询分类标签集合.md | 39 +++++++++++++++++++++++++++++++++++++++ storyBot_doc/查询分类集合标签.md | 39 --------------------------------------- 7 files changed, 131 insertions(+), 39 deletions(-) create mode 100644 storyBot_doc/修改查询标签集合(复件).md create mode 100644 storyBot_doc/修改查询标签集合.md create mode 100644 storyBot_doc/查询专辑标签集合.md create mode 100644 storyBot_doc/查询分类标签集合.md delete mode 100644 storyBot_doc/查询分类集合标签.md diff --git "a/storyBot_doc/\344\277\256\346\224\271\346\237\245\350\257\242\346\240\207\347\255\276\351\233\206\345\220\210(\345\244\215\344\273\266).md" "b/storyBot_doc/\344\277\256\346\224\271\346\237\245\350\257\242\346\240\207\347\255\276\351\233\206\345\220\210(\345\244\215\344\273\266).md" new file mode 100644 index 0000000..cd47814 --- /dev/null +++ "b/storyBot_doc/\344\277\256\346\224\271\346\237\245\350\257\242\346\240\207\347\255\276\351\233\206\345\220\210(\345\244\215\344\273\266).md" @@ -0,0 +1,32 @@ +##### 修改音频系列 + +URL: http://root@hw-gz26.heyqiwu.cn:8089/story/edit/data/updateAlbumLabel + +METHOD: PUT + +RequestHeaders: + +| key | value | +| :----------- | :------------: | +| Content-Type | application/json;charset=utf-8 | + +ReqeustParams: + +requestBody: +``` +[{ + "labelId":"1",//系列ID(必填) + "labelName":"睡眠"//系列名称(必填) + "albumId":"1",//系列ID(必填) + "albumName":"睡眠"//系列名称(必填) +}] +``` + +responseBody: +``` +SUCCESS: +{ + "code": 1, + "msg": "修改成功" +} +``` diff --git "a/storyBot_doc/\344\277\256\346\224\271\346\237\245\350\257\242\346\240\207\347\255\276\351\233\206\345\220\210.md" "b/storyBot_doc/\344\277\256\346\224\271\346\237\245\350\257\242\346\240\207\347\255\276\351\233\206\345\220\210.md" new file mode 100644 index 0000000..cd47814 --- /dev/null +++ "b/storyBot_doc/\344\277\256\346\224\271\346\237\245\350\257\242\346\240\207\347\255\276\351\233\206\345\220\210.md" @@ -0,0 +1,32 @@ +##### 修改音频系列 + +URL: http://root@hw-gz26.heyqiwu.cn:8089/story/edit/data/updateAlbumLabel + +METHOD: PUT + +RequestHeaders: + +| key | value | +| :----------- | :------------: | +| Content-Type | application/json;charset=utf-8 | + +ReqeustParams: + +requestBody: +``` +[{ + "labelId":"1",//系列ID(必填) + "labelName":"睡眠"//系列名称(必填) + "albumId":"1",//系列ID(必填) + "albumName":"睡眠"//系列名称(必填) +}] +``` + +responseBody: +``` +SUCCESS: +{ + "code": 1, + "msg": "修改成功" +} +``` diff --git "a/storyBot_doc/\346\237\245\347\234\213\347\274\226\350\276\221\345\220\216\346\225\260\346\215\256\347\263\273\345\210\227\344\270\223\350\276\221.md" "b/storyBot_doc/\346\237\245\347\234\213\347\274\226\350\276\221\345\220\216\346\225\260\346\215\256\347\263\273\345\210\227\344\270\223\350\276\221.md" index 8978002..431b15f 100644 --- "a/storyBot_doc/\346\237\245\347\234\213\347\274\226\350\276\221\345\220\216\346\225\260\346\215\256\347\263\273\345\210\227\344\270\223\350\276\221.md" +++ "b/storyBot_doc/\346\237\245\347\234\213\347\274\226\350\276\221\345\220\216\346\225\260\346\215\256\347\263\273\345\210\227\344\270\223\350\276\221.md" @@ -19,6 +19,7 @@ ReqeustParams: | storyName | 故事(选填) | | labelName | 标签(选填) | | albumName | 专辑(选填) | +| seriesId | 系列ID(选填) | | total | 数据条数(有必填) | | pages | 总页数(有必填) | diff --git "a/storyBot_doc/\346\237\245\347\234\213\347\274\226\350\276\221\345\220\216\346\225\260\346\215\256\347\263\273\345\210\227\344\270\223\350\276\221\347\224\250\344\272\216\344\273\216\347\263\273\345\210\227\347\202\271\350\277\233\345\216\273.md" "b/storyBot_doc/\346\237\245\347\234\213\347\274\226\350\276\221\345\220\216\346\225\260\346\215\256\347\263\273\345\210\227\344\270\223\350\276\221\347\224\250\344\272\216\344\273\216\347\263\273\345\210\227\347\202\271\350\277\233\345\216\273.md" index 2abad2f..af07888 100644 --- "a/storyBot_doc/\346\237\245\347\234\213\347\274\226\350\276\221\345\220\216\346\225\260\346\215\256\347\263\273\345\210\227\344\270\223\350\276\221\347\224\250\344\272\216\344\273\216\347\263\273\345\210\227\347\202\271\350\277\233\345\216\273.md" +++ "b/storyBot_doc/\346\237\245\347\234\213\347\274\226\350\276\221\345\220\216\346\225\260\346\215\256\347\263\273\345\210\227\344\270\223\350\276\221\347\224\250\344\272\216\344\273\216\347\263\273\345\210\227\347\202\271\350\277\233\345\216\273.md" @@ -16,6 +16,7 @@ ReqeustParams: | :----------- | :------------: | | pageNum | 页数(必填) | | pageSize | 页大小(必填) | +| seriesId | 系列ID(必填) | | storyName | 故事(选填) | | labelName | 标签(选填) | | albumName | 专辑(选填) | diff --git "a/storyBot_doc/\346\237\245\350\257\242\344\270\223\350\276\221\346\240\207\347\255\276\351\233\206\345\220\210.md" "b/storyBot_doc/\346\237\245\350\257\242\344\270\223\350\276\221\346\240\207\347\255\276\351\233\206\345\220\210.md" new file mode 100644 index 0000000..ca02e5b --- /dev/null +++ "b/storyBot_doc/\346\237\245\350\257\242\344\270\223\350\276\221\346\240\207\347\255\276\351\233\206\345\220\210.md" @@ -0,0 +1,26 @@ +##### 查看分标签类 + +URL: http://root@hw-gz26.heyqiwu.cn:8089/story/edit/data/findAlbumLabel + +METHOD: GET + +RequestHeaders: + +| key | value | +| :----------- | :------------: | +| Content-Type | application/json;charset=utf-8 | + +ReqeustParams: + +| key | value | +| :----------- | :------------: | +| id | 分类ID查询条件(选填) | +| albumId | 专辑ID(选填) | + +requestBody: + +responseBody: +``` +SUCCESS: + +``` diff --git "a/storyBot_doc/\346\237\245\350\257\242\345\210\206\347\261\273\346\240\207\347\255\276\351\233\206\345\220\210.md" "b/storyBot_doc/\346\237\245\350\257\242\345\210\206\347\261\273\346\240\207\347\255\276\351\233\206\345\220\210.md" new file mode 100644 index 0000000..19b2b91 --- /dev/null +++ "b/storyBot_doc/\346\237\245\350\257\242\345\210\206\347\261\273\346\240\207\347\255\276\351\233\206\345\220\210.md" @@ -0,0 +1,39 @@ +##### 查看分类标签 + +URL: http://root@hw-gz26.heyqiwu.cn:8089/story/edit/data/findLabelByCategory + +METHOD: GET + +RequestHeaders: + +| key | value | +| :----------- | :------------: | +| Content-Type | application/json;charset=utf-8 | + +ReqeustParams: + +| key | value | +| :----------- | :------------: | +| id | 标签ID查询条件(选填) | +| labelName | 标签名称查询条件(选填) | +| categoryId | 分类ID查询条件(选填) | +| categoryName | 分类名查询条件(选填) | + +requestBody: + +responseBody: +``` +SUCCESS: +{ + "code": 1, + "data": [ + { + "id": 1, + "labelName": "女童", + "categoryId": 2, + "categoryName": "性别", + "updateDate": "2021-03-08" + } + ] +} +``` diff --git "a/storyBot_doc/\346\237\245\350\257\242\345\210\206\347\261\273\351\233\206\345\220\210\346\240\207\347\255\276.md" "b/storyBot_doc/\346\237\245\350\257\242\345\210\206\347\261\273\351\233\206\345\220\210\346\240\207\347\255\276.md" deleted file mode 100644 index 19b2b91..0000000 --- "a/storyBot_doc/\346\237\245\350\257\242\345\210\206\347\261\273\351\233\206\345\220\210\346\240\207\347\255\276.md" +++ /dev/null @@ -1,39 +0,0 @@ -##### 查看分类标签 - -URL: http://root@hw-gz26.heyqiwu.cn:8089/story/edit/data/findLabelByCategory - -METHOD: GET - -RequestHeaders: - -| key | value | -| :----------- | :------------: | -| Content-Type | application/json;charset=utf-8 | - -ReqeustParams: - -| key | value | -| :----------- | :------------: | -| id | 标签ID查询条件(选填) | -| labelName | 标签名称查询条件(选填) | -| categoryId | 分类ID查询条件(选填) | -| categoryName | 分类名查询条件(选填) | - -requestBody: - -responseBody: -``` -SUCCESS: -{ - "code": 1, - "data": [ - { - "id": 1, - "labelName": "女童", - "categoryId": 2, - "categoryName": "性别", - "updateDate": "2021-03-08" - } - ] -} -``` -- libgit2 0.27.1