Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jiaoyou_doc
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李进峰
jiaoyou_doc
Commits
3aebf301
Commit
3aebf301
authored
Dec 15, 2023
by
jixudong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace 素材库.md
parent
841c7f7f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
29 deletions
+29
-29
素材库.md
gameditor/前端接口/素材库.md
+29
-29
No files found.
gameditor/前端接口/素材库.md
View file @
3aebf301
**测试环
境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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment