Commit 3aebf301 by jixudong

Replace 素材库.md

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