Commit 3aebf301 by jixudong

Replace 素材库.md

parent 841c7f7f
**测试环境URL**:http://tx-gz14.heyqiwu.cn **测试环境URL**:http://tx-gz14.heyqiwu.cn
...@@ -14,10 +14,10 @@ ...@@ -14,10 +14,10 @@
#### 请求param字段说明 #### 请求param字段说明
| key | type | required | description | | key | type | required | description |
| -------- | ---- | -------- | ----------- | | -------- | ------ | -------- | ----------- |
| category | | yes | 分类 | | category | string | yes | 分类 |
| imgName | | yes | 图片名称 | | imgName | string | yes | 图片名称 |
#### 请求body字段说明 #### 请求body字段说明
...@@ -61,7 +61,7 @@ curl 'http://tx-gz11.heyqiwu.cn/api/platform/design/img/manage/search?category=u ...@@ -61,7 +61,7 @@ curl 'http://tx-gz11.heyqiwu.cn/api/platform/design/img/manage/search?category=u
} }
``` ```
### 其他图片上传 ### 作品封面/角色头像图片上传
**METHOD**: POST **METHOD**: POST
...@@ -77,9 +77,9 @@ curl 'http://tx-gz11.heyqiwu.cn/api/platform/design/img/manage/search?category=u ...@@ -77,9 +77,9 @@ curl 'http://tx-gz11.heyqiwu.cn/api/platform/design/img/manage/search?category=u
#### 请求body字段说明 #### 请求body字段说明
| key | type | required | description | | key | type | required | description |
| ---- | ---- | -------- | -------------- | | ---- | ---- | -------- | ----------- |
| data | | yes | base64格式图片 | | data | png | yes | 图片 |
#### 请求示例 #### 请求示例
...@@ -196,10 +196,10 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/img/manage/init' \ ...@@ -196,10 +196,10 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/img/manage/init' \
#### 请求body字段说明 form data #### 请求body字段说明 form data
| key | type | required | description | | key | type | required | description |
| ----- | ---- | -------- | ------------ | | ----- | ------ | -------- | ------------ |
| label | | yes | 标签 | | label | string | yes | 标签 |
| file | | yes | 图片文件列表 | | file | png | yes | 图片文件列表 |
#### 请求示例 #### 请求示例
...@@ -249,11 +249,11 @@ curl 'http://tx-gz11.heyqiwu.cn/api/platform/design/img/manage/upload' \ ...@@ -249,11 +249,11 @@ curl 'http://tx-gz11.heyqiwu.cn/api/platform/design/img/manage/upload' \
#### 请求body字段说明 form data #### 请求body字段说明 form data
| key | type | required | description | | key | type | required | description |
| -------- | ---- | -------- | --------------- | | -------- | ------ | -------- | --------------- |
| label | | yes | 标签 | | label | string | yes | 标签 |
| filename | | yes | 图片名称 | | filename | string | yes | 图片名称 |
| time | | yes | 当前时间 时间戳 | | time | string | yes | 当前时间 时间戳 |
#### 请求示例 #### 请求示例
...@@ -304,13 +304,13 @@ curl 'http://tx-gz11.heyqiwu.cn/api/platform/design/img/manage/delete' \ ...@@ -304,13 +304,13 @@ curl 'http://tx-gz11.heyqiwu.cn/api/platform/design/img/manage/delete' \
#### 请求body字段说明 form data #### 请求body字段说明 form data
| key | type | required | description | | key | type | required | description |
| ----------- | ---- | -------- | --------------- | | ----------- | ------ | -------- | --------------- |
| time | | yes | 当前时间 时间戳 | | time | string | yes | 当前时间 时间戳 |
| originLabel | | yes | 所属旧分类 | | originLabel | string | yes | 所属旧分类 |
| targetLabel | | yes | 所属新分类 | | targetLabel | string | yes | 所属新分类 |
| newName | | yes | 图片新名称 | | newName | string | yes | 图片新名称 |
| oldName | | yes | 图片旧名称 | | oldName | string | yes | 图片旧名称 |
#### 请求示例 #### 请求示例
...@@ -360,10 +360,10 @@ curl 'http://tx-gz11.heyqiwu.cn/api/platform/design/img/manage/move' \ ...@@ -360,10 +360,10 @@ curl 'http://tx-gz11.heyqiwu.cn/api/platform/design/img/manage/move' \
#### 请求body字段说明 form data #### 请求body字段说明 form data
| key | type | required | description | | key | type | required | description |
| ----- | ---- | -------- | ----------------- | | ----- | ------ | -------- | ------------------- |
| label | | yes | 标签 | | label | string | yes | 标签 |
| role | | yes | 1管理员 2编辑用户 | | role | number | yes | 1 管理员 2 编辑用户 |
#### 请求示例 #### 请求示例
...@@ -410,11 +410,11 @@ curl 'http://tx-gz11.heyqiwu.cn/api/platform/design/img/manage/delete/label' \ ...@@ -410,11 +410,11 @@ curl 'http://tx-gz11.heyqiwu.cn/api/platform/design/img/manage/delete/label' \
#### 请求body字段说明 form data #### 请求body字段说明 form data
| key | type | required | description | | key | type | required | description |
| -------- | ---- | -------- | ----------------- | | -------- | ------ | -------- | ------------------- |
| labelOld | | yes | 分类旧名称 | | labelOld | string | yes | 分类旧名称 |
| labelNew | | yes | 分类新名称 | | labelNew | string | yes | 分类新名称 |
| role | | yes | 1管理员 2编辑用户 | | role | number | yes | 1 管理员 2 编辑用户 |
#### 请求示例 #### 请求示例
...@@ -455,9 +455,9 @@ curl 'http://tx-gz11.heyqiwu.cn/api/platform/design/img/manage/move' \ ...@@ -455,9 +455,9 @@ curl 'http://tx-gz11.heyqiwu.cn/api/platform/design/img/manage/move' \
#### 请求param字段说明 #### 请求param字段说明
| key | type | required | description | | key | type | required | description |
| ----- | ---- | -------- | ----------- | | ----- | ------ | -------- | ----------- |
| label | | yes | 标签 | | label | string | yes | 标签 |
#### 请求body字段说明 form data #### 请求body字段说明 form data
......
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