From 3aebf3017e7403d4564aa539bd98fdb54ccc7cc5 Mon Sep 17 00:00:00 2001 From: jixudong Date: Fri, 15 Dec 2023 10:08:40 +0800 Subject: [PATCH] Replace 素材库.md --- gameditor/前端接口/素材库.md | 72 ++++++++++++++++++++++++++++++++++++------------------------------------ 1 file changed, 36 insertions(+), 36 deletions(-) diff --git "a/gameditor/\345\211\215\347\253\257\346\216\245\345\217\243/\347\264\240\346\235\220\345\272\223.md" "b/gameditor/\345\211\215\347\253\257\346\216\245\345\217\243/\347\264\240\346\235\220\345\272\223.md" index f502002..6afade8 100644 --- "a/gameditor/\345\211\215\347\253\257\346\216\245\345\217\243/\347\264\240\346\235\220\345\272\223.md" +++ "b/gameditor/\345\211\215\347\253\257\346\216\245\345\217\243/\347\264\240\346\235\220\345\272\223.md" @@ -14,10 +14,10 @@ #### 请求param字段说明 -| key | type | required | description | -| -------- | ---- | -------- | ----------- | -| category | | yes | 分类 | -| imgName | | yes | 图片名称 | +| key | type | required | description | +| -------- | ------ | -------- | ----------- | +| 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 @@ -77,9 +77,9 @@ curl 'http://tx-gz11.heyqiwu.cn/api/platform/design/img/manage/search?category=u #### 请求body字段说明 -| key | type | required | description | -| ---- | ---- | -------- | -------------- | -| data | | yes | base64格式图片 | +| key | type | required | description | +| ---- | ---- | -------- | ----------- | +| data | png | yes | 图片 | #### 请求示例 @@ -196,10 +196,10 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/img/manage/init' \ #### 请求body字段说明 form data -| key | type | required | description | -| ----- | ---- | -------- | ------------ | -| label | | yes | 标签 | -| file | | yes | 图片文件列表 | +| key | type | required | description | +| ----- | ------ | -------- | ------------ | +| label | string | yes | 标签 | +| file | png | yes | 图片文件列表 | #### 请求示例 @@ -249,11 +249,11 @@ 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 | 当前时间 时间戳 | +| key | type | required | description | +| -------- | ------ | -------- | --------------- | +| label | string | yes | 标签 | +| filename | string | yes | 图片名称 | +| time | string | yes | 当前时间 时间戳 | #### 请求示例 @@ -304,13 +304,13 @@ 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 | 图片旧名称 | +| key | type | required | description | +| ----------- | ------ | -------- | --------------- | +| time | string | yes | 当前时间 时间戳 | +| originLabel | string | yes | 所属旧分类 | +| targetLabel | string | yes | 所属新分类 | +| newName | string | yes | 图片新名称 | +| oldName | string | yes | 图片旧名称 | #### 请求示例 @@ -360,10 +360,10 @@ 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编辑用户 | +| key | type | required | description | +| ----- | ------ | -------- | ------------------- | +| label | string | yes | 标签 | +| role | number | yes | 1 管理员 2 编辑用户 | #### 请求示例 @@ -410,11 +410,11 @@ 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编辑用户 | +| key | type | required | description | +| -------- | ------ | -------- | ------------------- | +| labelOld | string | yes | 分类旧名称 | +| labelNew | string | yes | 分类新名称 | +| role | number | yes | 1 管理员 2 编辑用户 | #### 请求示例 @@ -455,9 +455,9 @@ curl 'http://tx-gz11.heyqiwu.cn/api/platform/design/img/manage/move' \ #### 请求param字段说明 -| key | type | required | description | -| ----- | ---- | -------- | ----------- | -| label | | yes | 标签 | +| key | type | required | description | +| ----- | ------ | -------- | ----------- | +| label | string | yes | 标签 | #### 请求body字段说明 form data -- libgit2 0.27.1