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
36b7c2e8
Commit
36b7c2e8
authored
Dec 04, 2023
by
jixudong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Upload New File
parent
6463180b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
127 additions
and
0 deletions
+127
-0
管理界面-审核作品.md
gameditor/前端接口/管理界面-审核作品.md
+127
-0
No files found.
gameditor/前端接口/管理界面-审核作品.md
0 → 100644
View file @
36b7c2e8
**测试环境URL**
:http://tx-gz14.heyqiwu.cn
**测试环境URL**
:http://tx-gz14.heyqiwu.cn
**生产环境URL**
:http://tx-gz11.heyqiwu.cn
[
TOC
]
### 审核作品
**METHOD**
: PUT
**path**
: api/platform/design/project/{id}/apply
**RequestHeaders:**
同创作平台请求header
#### 请求path字段说明
| key | type | required | description |
| ---- | ---- | -------- | ----------- |
| id | | yes | 主键ID |
#### 请求param字段说明
| key | type | required | description |
| ----------- | ---- | -------- | ----------- |
| applyStatus | | yes | 审核的状态 |
#### 请求body字段说明
| key | type | required | description |
| --------------- | ---- | -------- | -------------------------------- |
| id | | yes | 主键ID |
| name | | yes | 作品名 |
| seriesName | | no | 系列名称 |
| ttsName | | no | 语音合成时候的名称 |
| intro | | yes | 作品介绍 |
| botId | | yes | 在引擎中的ID |
| botAccount | | yes | 在引擎中的账号 |
| applyStatus | | yes | 审核的状态 |
| applySuggestion | | no | 审核建议 |
| score | | yes | 评分 |
| nicknames | | yes | 作品别名 可以是多个, 用逗号隔开 |
| free | | yes | 是否免费 |
| difficulty | | yes | 困难程度 |
| suitCrowds | | yes | 适应人群 |
| startAge | | yes | 开始年龄 |
| stopAge | | yes | 结束年龄 |
| username | | yes | 作者的用户名 |
| userNickname | | yes | 作者的笔名 |
| preface | | yes | 创作者说 |
| workType | | yes | 作品类型 |
| labels | | yes | 作品的标签,多个用逗号隔开 |
| audioType | | no | 弃用字段 |
| covers | | yes | 新版封面 |
| includedWorks | | no | 包含作品,多个用逗号隔开 |
| group | | yes | |
workType值说明
| key | type | description |
| ---- | ---- | ----------- |
| 1 | | 作品故事 |
| 2 | | 功能性BOT |
| 3 | | 附属作品 |
| 4 | | 第三方接入 |
| 5 | | 虚拟作品 |
free值说明
| key | type | description |
| ---- | ---- | ----------- |
| 1 | | 免费 |
| 0 | | 付费 |
applyStatus值说明
| key | type | description |
| ---- | ---- | ------------ |
| 1 | | 表示审核通过 |
| 0 | | 表示未审核 |
covers值说明
| key | type | description |
| --------- | ---- | ----------- |
| scale | | 尺寸 |
| listUrl | | 列表封面 |
| detailUrl | | 详情封面 |
group值说明
| key | type | description |
| -------- | ---- | ------------ |
| id | | |
| masterId | | 管理员用户id |
| name | | |
| multiple | | |
#### 请求示例
```
js
curl
'http://tx-gz11.heyqiwu.cn/api/platform/design/project/8/apply?applyStatus=0'
\
-
X
'PUT'
\
-
H
'Accept: application/json, text/plain, */*'
\
-
H
'Accept-Language: zh-CN,zh;q=0.9'
\
-
H
'Authorization: Basic ZXlKaGJHY2lPaUpJVXpJMU5pSjkuZXlKcFlYUWlPakUzTURFMk56QXdORFlzSW1WNGNDSTZNVGN3TVRZM056STBOaXdpWVhWMGFHOXlhWFI1SWpveExDSnBaQ0k2TXpVd2ZRLmxSUEtJNXNRbkhoVVl5LWplalpMbHNKZF9wX2lINkZ2NnlTUUZpZDFXZFk6czAwcGVyczNjcmV0'
\
-
H
'Connection: keep-alive'
\
-
H
'Content-Type: application/json;charset=UTF-8'
\
-
H
'Cookie: username=jixudong; nickname=jixudong; authority=1; icon=#; platform_token=eyJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE3MDE2NzAwNDYsImV4cCI6MTcwMTY3NzI0NiwiYXV0aG9yaXR5IjoxLCJpZCI6MzUwfQ.lRPKI5sQnHhUYy-jejZLlsJd_p_iH6Fv6ySQFid1WdY'
\
-
H
'Origin: http://tx-gz11.heyqiwu.cn'
\
-
H
'Referer: http://tx-gz11.heyqiwu.cn/Editor/'
\
-
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":8,"name":"晚安爱丽丝","seriesName":"","ttsName":null,"intro":"爱丽丝离开城堡后误入了迷失森林,遇见了可爱友善的兔子凯文,以及活泼开朗的猴子麦克,接下来他们会在森林中有怎样的奇遇呢?","botId":34967,"botAccount":"gz38botwananailisi465420096","applyStatus":0,"applySuggestion":"","score":0,"nicknames":["晚安爱力丝","晚安爱丽思"],"free":0,"difficulty":"简单","suitCrowds":"儿童","startAge":1,"stopAge":100,"username":"k1percent","userNickname":"k1percent","preface":"这是一款语音故事类游戏,主要是以用户为第一视角,在设计上主要以对话互动为主,通过用户的选择来决定剧情的走向","workType":1,"labels":["找寻","儿童","冒险"],"audioType":null,"covers":[{"scale":"4x3","listUrl":"http://tx-gz13.heyqiwu.cn/media/gz38botwananailisi465420096/img/DINePiv1602853745656_cover_list_page_4x3.jpeg","detailUrl":"http://tx-gz13.heyqiwu.cn/media/gz38botwananailisi465420096/img/DINePiv1602853745656_cover_detail_page_4x3.jpeg"}],"includedWorks":[],"group":{"id":null,"masterId":null,"name":"无","multiple":false}}'
\
--
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