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
6d73d178
Commit
6d73d178
authored
Nov 22, 2023
by
jixudong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace 项目列表-作品列表.md
parent
815b9c21
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
197 additions
and
1 deletion
+197
-1
项目列表-作品列表.md
gameditor/前端接口/项目列表-作品列表.md
+197
-1
No files found.
gameditor/前端接口/项目列表-作品列表.md
View file @
6d73d178
**测试环
境URL**
:http://tx-gz14.heyqiwu.cn
**测试环
境URL**
:http://tx-gz14.heyqiwu.cn
...
@@ -640,5 +640,201 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/user/group/by_groupId?groupId=578'
...
@@ -640,5 +640,201 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/user/group/by_groupId?groupId=578'
}
}
```
```
### 提交审核
**METHOD**
: PUT
**path**
: api/platform/design/project/{id}/apply
**RequestHeaders:**
同创作平台请求header
#### 请求param字段说明
| key | type | required | description |
| ---- | ---- | -------- | ----------- |
| 无 | | | |
#### 请求body字段说明
| key | type | required | description |
| ----------- | ---- | -------- | ----------- |
| applyStatus | | yes | 审核状态 |
| botAccount | | yes | 作品id |
| groupId | | yes | 作品id |
| name | | yes | 作品名称 |
#### 请求示例
```
js
curl
'http://tx-gz11.heyqiwu.cn/api/platform/design/project/2658/apply/'
\
-
X
'PUT'
\
-
H
'Accept: application/json, text/plain, */*'
\
-
H
'Accept-Language: zh-CN,zh;q=0.9'
\
-
H
'Authorization: Basic ZXlKaGJHY2lPaUpJVXpJMU5pSjkuZXlKcFlYUWlPakUzTURBMk5UVXpOVEFzSW1WNGNDSTZNVGN3TURZMk1qVTFNQ3dpWVhWMGFHOXlhWFI1SWpveExDSnBaQ0k2TXpVd2ZRLklVQ05jT1Y5a3dPYllsTERVamhzd1RmR29McE5iTWJGOXgxTGRHM3FDRGs6czAwcGVyczNjcmV0'
\
-
H
'Connection: keep-alive'
\
-
H
'Content-Type: application/json;charset=UTF-8'
\
-
H
'Cookie: username=jixudong; nickname=jixudong; authority=1; icon=#; platform_token=eyJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE3MDA2NTUzNTAsImV4cCI6MTcwMDY2MjU1MCwiYXV0aG9yaXR5IjoxLCJpZCI6MzUwfQ.IUCNcOV9kwObYlLDUjhswTfGoLpNbMbF9x1LdG3qCDk'
\
-
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'
\
-
H
'botAccount: txgz12botceshiceshiceshiceshi875597780'
\
-
H
'groupId: 1703'
\
--
data
-
raw
'{"applyStatus":2,"name":"测试测试测试测试","botAccount":"txgz12botceshiceshiceshiceshi875597780","groupId":1703}'
\
--
compressed
\
--
insecure
```
#### 响应实例
```
json
{
"code"
:
1
,
"msg"
:
"成功"
,
"data"
:
null
}
```
### 分组删除作品
**METHOD**
: DELETE
**path**
: api/platform/user/group/bot
**RequestHeaders:**
同创作平台请求header
#### 请求param字段说明
| key | type | required | description |
| ---- | ---- | -------- | ----------- |
| 无 | | | |
#### 请求body字段说明
| key | type | required | description |
| ---------- | ---- | -------- | ----------- |
| botId | | | botid |
| botAccount | | | 作品id |
| groupId | | | 作品id |
| projectId | | | 项目id |
#### 请求示例
```
js
curl
'http://tx-gz14.heyqiwu.cn/api/platform/user/group/bot'
\
-
X
'DELETE'
\
-
H
'Accept: application/json, text/plain, */*'
\
-
H
'Accept-Language: zh-CN,zh;q=0.9'
\
-
H
'Authorization: Basic ZXlKaGJHY2lPaUpJVXpJMU5pSjkuZXlKcFlYUWlPakUzTURBMk5UWTJORGNzSW1WNGNDSTZNVGN3TURZMk16ZzBOeXdpWVhWMGFHOXlhWFI1SWpveExDSnBaQ0k2TWpJMGZRLkZlTEtlNVNFbDJ6OWhtZUpQQVFMQUx2aG56Ul9BOTBoMjJPdzhLcmxRUm86czAwcGVyczNjcmV0'
\
-
H
'Connection: keep-alive'
\
-
H
'Content-Type: application/json;charset=UTF-8'
\
-
H
'Cookie: username=%E5%8B%BF%E5%BF%98%E7%81%AC%E6%97%A0%E6%9C%9F; nickname=%E5%8B%BF%E5%BF%98%E7%81%AC%E6%97%A0%E6%9C%9F; authority=1; icon=#; platform_token=eyJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE3MDA2NTY2NDcsImV4cCI6MTcwMDY2Mzg0NywiYXV0aG9yaXR5IjoxLCJpZCI6MjI0fQ.FeLKe5SEl2z9hmeJPAQLALvhnzR_A90h22Ow8KrlQRo'
\
-
H
'Origin: http://tx-gz14.heyqiwu.cn'
\
-
H
'Referer: http://tx-gz14.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'
\
-
H
'botAccount: txgz14botwwwwwwwwwwwwwwwwww498991819'
\
-
H
'groupId: 716'
\
-
H
'projectId: 6412'
\
--
data
-
raw
'{"groupId":716,"projectId":6412,"botId":10364,"botAccount":"txgz14botwwwwwwwwwwwwwwwwww498991819"}'
\
--
compressed
\
--
insecure
```
#### 响应实例
```
json
{
"code"
:
1
,
"msg"
:
"成功"
,
"data"
:
null
}
```
### 修改分组信息
**METHOD**
: PUT
**path**
: api/platform/user/group/bot
**RequestHeaders:**
同创作平台请求header
#### 请求param字段说明
| key | type | required | description |
| ---- | ---- | -------- | ----------- |
| 无 | | | |
#### 请求body字段说明
| key | type | required | description |
| ----------------- | ---- | -------- | ----------- |
| id | | | |
| name | | | |
| ttsName | | | |
| showedWorkName | | | |
| seriesName | | | |
| intro | | | |
| botId | | | |
| botAccount | | | |
| userId | | | |
| username | | | |
| userNickname | | | |
| nicknames | | | |
| generateStatus | | | |
| applyStatus | | | |
| applySuggestion | | | |
| watch | | | |
| defaultPlotImgUrl | | | |
| defaultBgmUrl | | | |
| preface | | | |
| difficulty | | | |
| suitCrowds | | | |
| wordNum | | | |
| postURL | | | |
| postActive | | | |
| startOption | | | |
| edition | | | |
| configContent | | | |
| extraOptions | | | |
| startAge | | | |
| stopAge | | | |
| workType | | | |
| free | | | |
| audioType | | | |
| score | | | |
| nerInPretreatment | | | |
| archiveOption | | | |
| allowRestart | | | |
| hasChecked | | | |
| labels | | | |
#### 请求示例
```
js
curl
'http://tx-gz14.heyqiwu.cn/api/platform/design/work/txgz14bot3333736305936'
\
-
X
'PUT'
\
-
H
'Accept: application/json, text/plain, */*'
\
-
H
'Accept-Language: zh-CN,zh;q=0.9'
\
-
H
'Authorization: Basic ZXlKaGJHY2lPaUpJVXpJMU5pSjkuZXlKcFlYUWlPakUzTURBMk5UWTJORGNzSW1WNGNDSTZNVGN3TURZMk16ZzBOeXdpWVhWMGFHOXlhWFI1SWpveExDSnBaQ0k2TWpJMGZRLkZlTEtlNVNFbDJ6OWhtZUpQQVFMQUx2aG56Ul9BOTBoMjJPdzhLcmxRUm86czAwcGVyczNjcmV0'
\
-
H
'Connection: keep-alive'
\
-
H
'Content-Type: application/json;charset=UTF-8'
\
-
H
'Cookie: username=%E5%8B%BF%E5%BF%98%E7%81%AC%E6%97%A0%E6%9C%9F; nickname=%E5%8B%BF%E5%BF%98%E7%81%AC%E6%97%A0%E6%9C%9F; authority=1; icon=#; platform_token=eyJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE3MDA2NTY2NDcsImV4cCI6MTcwMDY2Mzg0NywiYXV0aG9yaXR5IjoxLCJpZCI6MjI0fQ.FeLKe5SEl2z9hmeJPAQLALvhnzR_A90h22Ow8KrlQRo'
\
-
H
'Origin: http://tx-gz14.heyqiwu.cn'
\
-
H
'Referer: http://tx-gz14.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'
\
-
H
'botAccount: txgz14bot3333736305936'
\
-
H
'groupId: 714'
\
--
data
-
raw
'{"id":6407,"name":"rrr","ttsName":null,"showedWorkName":"","seriesName":"","intro":"","botId":10359,"botAccount":"txgz14bot3333736305936","userId":224,"username":"勿忘灬无期","userNickname":"勿忘灬无期","nicknames":[],"generateStatus":0,"applyStatus":0,"applySuggestion":"","watch":0,"covers":[{"scale":"4x3","listUrl":"http://tx-gz14.heyqiwu.cn/media/txgz14bot3333736305936/img/SEvAjLH1690867027178_cover_list_page_4x3.png","detailUrl":"http://tx-gz14.heyqiwu.cn/media/txgz14bot3333736305936/img/SEvAjLH1690867027178_cover_detail_page_4x3.png"},{"scale":"1x1","listUrl":"http://tx-gz14.heyqiwu.cn/media/txgz14bot3333736305936/img/SEvAjLH1690867027178_cover_list_page_1x1.png","detailUrl":"http://tx-gz14.heyqiwu.cn/media/txgz14bot3333736305936/img/SEvAjLH1690867027178_cover_detail_page_1x1.png"}],"defaultPlotImgUrl":"","defaultBgmUrl":"","preface":"","difficulty":"","suitCrowds":null,"wordNum":null,"postURL":"","postActive":false,"startOption":2,"edition":1,"configContent":"","extraOptions":[],"startAge":1,"stopAge":100,"workType":2,"free":0,"audioType":null,"score":null,"nerInPretreatment":false,"archiveOption":0,"extra":{"combinPostForm":false,"agTaskInfo":{"progress":null,"status":0}},"allowRestart":true,"hasChecked":false,"group":{"id":714,"masterId":224,"name":"chengbin","multiple":true},"labels":[]}'
\
--
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