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
c8f30bc8
Commit
c8f30bc8
authored
Dec 11, 2023
by
jixudong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace 标签列表.md
parent
9a009310
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
58 additions
and
1 deletion
+58
-1
标签列表.md
gameditor/前端接口/标签列表.md
+58
-1
No files found.
gameditor/前端接口/标签列表.md
View file @
c8f30bc8
**测试环
境URL**
:http://tx-gz14.heyqiwu.cn
**测试环
境URL**
:http://tx-gz14.heyqiwu.cn
...
@@ -104,3 +104,60 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/user/admin/label/system' \
...
@@ -104,3 +104,60 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/user/admin/label/system' \
}
}
```
```
### 修改管理员定义的标签
**METHOD**
: PUT
**path**
: api/platform/user/admin/label/system
**RequestHeaders:**
同创作平台请求header
#### 请求param字段说明
| key | type | required | description |
| ---- | ---- | -------- | ----------- |
| 无 | | | |
#### 请求body字段说明
| key | type | required | description |
| ------ | ---- | -------- | ------------ |
| id | | yes | 主键id |
| name | | yes | 标签类型名称 |
| labels | | yes | 标签 |
labels值说明
| key | type | description |
| ---- | ---- | ----------- |
| id | | 标签id |
| name | | 标签名称 |
#### 请求示例
```
js
curl
'http://tx-gz14.heyqiwu.cn/api/platform/user/admin/label/system'
\
-
X
'PUT'
\
-
H
'Accept: application/json, text/plain, */*'
\
-
H
'Accept-Language: zh-CN,zh;q=0.9'
\
-
H
'Authorization: Basic ZXlKaGJHY2lPaUpJVXpJMU5pSjkuZXlKcFlYUWlPakUzTURFMk5qazBNVEFzSW1WNGNDSTZNVGN3TVRZM05qWXhNQ3dpWVhWMGFHOXlhWFI1SWpveExDSnBaQ0k2TWpJMGZRLi12ckFQZUw2TTBNVzEzVXJCeEMzNndPX0Ryc3RuQVlNVzVJT3l0WXlnUnM6czAwcGVyczNjcmV0'
\
-
H
'Connection: keep-alive'
\
-
H
'Content-Type: application/json;charset=UTF-8'
\
-
H
'Origin: http://localhost:8080'
\
-
H
'Referer: http://localhost:8080/'
\
-
H
'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36'
\
--
data
-
raw
'[{"id":4,"name":"类型","labels":[{"id":22,"name":"古风"},{"id":23,"name":"科幻"},{"id":24,"name":"灾难"},{"id":25,"name":"穿越"},{"id":26,"name":"冒险"},{"id":27,"name":"找寻"},{"id":28,"name":"经营"},{"id":29,"name":"武侠"},{"id":30,"name":"儿童"},{"id":31,"name":"架空"},{"id":81,"name":"教育"},{"id":82,"name":"科学"},{"id":89,"name":"修仙"},{"id":90,"name":"玄幻"},{"id":91,"name":"推理"},{"id":92,"name":"解谜"},{"id":106,"name":"悬疑"},{"id":107,"name":"奇幻"},{"id":114,"name":"养成"},{"id":120,"name":"VIP"},{"id":121,"name":"New"},{"id":122,"name":"新作"},{"id":123,"name":"问答"},{"id":124,"name":"闯关"},{"id":125,"name":"言情"},{"id":127,"name":"社交"},{"id":128,"name":"虚拟人"},{"id":129,"name":"策略"},{"id":130,"name":"战斗"},{"id":135,"name":"男生"},{"id":136,"name":"女生"},{"id":137,"name":"男性向"},{"id":138,"name":"女性向"},{"id":140,"name":"热门作品"},{"id":143,"name":"精品"},{"id":146,"name":"马甲作品"},{"id":147,"name":"商场大亨"},{"id":148,"name":"心理"},{"id":149,"name":"恋爱"},{"id":150,"name":"现代都市"},{"id":151,"name":"娱乐圈"},{"id":152,"name":"重生"},{"id":null,"name":"搜索"}]},{"id":5,"name":"古风","labels":[{"id":33,"name":"闺情"},{"id":34,"name":"王权"},{"id":35,"name":"府宅"},{"id":36,"name":"朝堂"},{"id":37,"name":"经商"}]},{"id":7,"name":"科幻","labels":[{"id":43,"name":"科技战争"},{"id":44,"name":"机械"}]}]'
\
--
compressed
\
--
insecure
```
#### 响应实例
```
json
{
"code"
:
1
,
"msg"
:
"成功"
,
"data"
:
null
}
```
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