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
efef3948
Commit
efef3948
authored
Dec 14, 2023
by
jixudong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace 项目列表-剧情-剧情列表.md
parent
ef730ad6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
78 additions
and
79 deletions
+78
-79
项目列表-剧情-剧情列表.md
gameditor/前端接口/项目列表-剧情-剧情列表.md
+78
-79
No files found.
gameditor/前端接口/项目列表-剧情-剧情列表.md
View file @
efef3948
**测试环
境URL**
:http://tx-gz14.heyqiwu.cn
**测试环
境URL**
:http://tx-gz14.heyqiwu.cn
...
@@ -15,8 +15,8 @@
...
@@ -15,8 +15,8 @@
#### 请求path字段说明
#### 请求path字段说明
| key | type | required | description |
| key | type | required | description |
| --------- | ---- | -------- | ----------- |
| --------- | ----
--
| -------- | ----------- |
| projectId |
| yes | 项目id |
| projectId |
number
| yes | 项目id |
#### 请求param字段说明
#### 请求param字段说明
...
@@ -217,8 +217,8 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/work/base/data/963' \
...
@@ -217,8 +217,8 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/work/base/data/963' \
#### 请求param字段说明
#### 请求param字段说明
| key | type | required | description |
| key | type | required | description |
| --------- | ---- | -------- | ----------- |
| --------- | ----
--
| -------- | ----------- |
| projectId |
| yes | 项目id |
| projectId |
number
| yes | 项目id |
#### 请求body字段说明
#### 请求body字段说明
...
@@ -278,7 +278,7 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/plot/all?projectId=963' \
...
@@ -278,7 +278,7 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/plot/all?projectId=963' \
}
}
```
```
###
通过分类id查询所有剧情文本
###
获取剧情列表
**METHOD**
: GET
**METHOD**
: GET
...
@@ -289,8 +289,8 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/plot/all?projectId=963' \
...
@@ -289,8 +289,8 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/plot/all?projectId=963' \
#### 请求param字段说明
#### 请求param字段说明
| key | type | required | description |
| key | type | required | description |
| ---------- | ---- | -------- | ----------- |
| ---------- | ----
--
| -------- | ----------- |
| categoryId |
| yes | 分类id |
| categoryId |
number
| yes | 分类id |
#### 请求body字段说明
#### 请求body字段说明
...
@@ -389,28 +389,28 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/plot/text/?categoryId=45964'
...
@@ -389,28 +389,28 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/plot/text/?categoryId=45964'
#### 请求body字段说明
#### 请求body字段说明
| key | type | required | description |
| key | type | required | description |
| ------------------- | ---- | -------- | ---------------- |
| ------------------- | ----
--
| -------- | ---------------- |
| plotNum |
| yes | 剧情编号 |
| plotNum |
string
| yes | 剧情编号 |
| plotPlaceId |
| yes | 地点id |
| plotPlaceId |
number
| yes | 地点id |
| plotPlaceName |
| yes | 对话地点 |
| plotPlaceName |
string
| yes | 对话地点 |
| plotPlaceCategoryId |
| no | 地点分类id |
| plotPlaceCategoryId |
number
| no | 地点分类id |
| categoryId |
| yes | 分类id |
| categoryId |
number
| yes | 分类id |
| plotTextVos |
| yes | 剧情文本对象数组 |
| plotTextVos |
array
| yes | 剧情文本对象数组 |
| note |
| no | 剧情备注 |
| note |
string
| no | 剧情备注 |
| bgmUrl |
| no | 背景图片 |
| bgmUrl |
string
| no | 背景图片 |
| imgUrl |
| no | 背景音乐 |
| imgUrl |
string
| no | 背景音乐 |
plotTextVos值说明
plotTextVos值说明
| key | type | description |
| key | type | description |
| ------- | ---- | -------------- |
| ------- | ----
---
| -------------- |
| npcId |
| 角色ID |
| npcId |
number
| 角色ID |
| npcName |
| 对话角色 |
| npcName |
string
| 对话角色 |
| mood |
| 对话地点
|
| mood |
string | 角色情绪
|
| content |
| 对话文本 |
| content |
string
| 对话文本 |
| id |
| 主键ID |
| id |
number
| 主键ID |
| plotId |
| 剧情点ID |
| plotId |
number
| 剧情点ID |
| offline |
| 是否是离线声音 |
| offline |
boolean
| 是否是离线声音 |
#### 请求示例
#### 请求示例
...
@@ -454,8 +454,8 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/plot/text/' \
...
@@ -454,8 +454,8 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/plot/text/' \
#### 请求path字段说明
#### 请求path字段说明
| key | type | required | description |
| key | type | required | description |
| ---- | ---- | -------- | ---------------- |
| ---- | ----
--
| -------- | ---------------- |
| id |
| yes | 自定义剧情文本ID |
| id |
number
| yes | 自定义剧情文本ID |
#### 请求param字段说明
#### 请求param字段说明
...
@@ -466,28 +466,28 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/plot/text/' \
...
@@ -466,28 +466,28 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/plot/text/' \
#### 请求body字段说明
#### 请求body字段说明
| key | type | required | description |
| key | type | required | description |
| ------------------- | ---- | -------- | ---------------- |
| ------------------- | ----
--
| -------- | ---------------- |
| plotNum |
| yes | 剧情编号 |
| plotNum |
string
| yes | 剧情编号 |
| plotPlaceId |
| yes | 地点id |
| plotPlaceId |
number
| yes | 地点id |
| plotPlaceName |
| yes | 对话地点 |
| plotPlaceName |
string
| yes | 对话地点 |
| plotPlaceCategoryId |
| no | 地点分类id |
| plotPlaceCategoryId |
number
| no | 地点分类id |
| categoryId |
| yes | 分类id |
| categoryId |
number
| yes | 分类id |
| plotTextVos |
数组
| yes | 剧情文本对象数组 |
| plotTextVos |
array
| yes | 剧情文本对象数组 |
| note |
| no | 剧情备注 |
| note |
string
| no | 剧情备注 |
| bgmUrl |
| no | 背景图片 |
| bgmUrl |
string
| no | 背景图片 |
| imgUrl |
| no | 背景音乐 |
| imgUrl |
string
| no | 背景音乐 |
plotTextVos值说明
plotTextVos值说明
| key | type | description |
| key | type | description |
| ------- | ---- | -------------- |
| ------- | ----
---
| -------------- |
| npcId |
| 角色ID |
| npcId |
number
| 角色ID |
| npcName |
| 对话角色 |
| npcName |
string
| 对话角色 |
| mood |
| 对话地点
|
| mood |
string | 角色情绪
|
| content |
| 对话文本 |
| content |
string
| 对话文本 |
| id |
| 主键ID |
| id |
number
| 主键ID |
| plotId |
| 剧情点ID |
| plotId |
number
| 剧情点ID |
| offline |
| 是否是离线声音 |
| offline |
boolean
| 是否是离线声音 |
#### 请求示例
#### 请求示例
...
@@ -532,8 +532,8 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/plot/text/1/' \
...
@@ -532,8 +532,8 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/plot/text/1/' \
#### 请求path字段说明
#### 请求path字段说明
| key | type | required | description |
| key | type | required | description |
| ---- | ---- | -------- | ---------------- |
| ---- | ----
--
| -------- | ---------------- |
| id |
| yes | 自定义剧情文本ID |
| id |
number
| yes | 自定义剧情文本ID |
#### 请求param字段说明
#### 请求param字段说明
...
@@ -550,21 +550,20 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/plot/text/1/' \
...
@@ -550,21 +550,20 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/plot/text/1/' \
#### 请求示例
#### 请求示例
```
js
```
js
curl
'http://tx-gz14.heyqiwu.cn/api/platform/design/plot/
text/1
/'
\
curl
'http://tx-gz14.heyqiwu.cn/api/platform/design/plot/
2178470
/'
\
-
X
'
PUT
'
\
-
X
'
DELETE
'
\
-
H
'Accept: application/json, text/plain, */*'
\
-
H
'Accept: application/json, text/plain, */*'
\
-
H
'Accept-Language: zh-CN,zh;q=0.9'
\
-
H
'Accept-Language: zh-CN,zh;q=0.9'
\
-
H
'Authorization: Basic ZXlKaGJHY2lPaUpJVXpJMU5pSjkuZXlKcFlYUWlPakUzTUR
BNE1UUTJNVFVzSW1WNGNDSTZNVGN3TURneU1UZ3hOU3dpWVhWMGFHOXlhWFI1SWpveExDSnBaQ0k2TWpJMGZRLmVMT2dXOUZTUGtkRFhMSWlfZ2YyeFBDcnJpMFJER29QOEhmYi1aWXVmU1U
6czAwcGVyczNjcmV0'
\
-
H
'Authorization: Basic ZXlKaGJHY2lPaUpJVXpJMU5pSjkuZXlKcFlYUWlPakUzTUR
JMU16a3lORFlzSW1WNGNDSTZNVGN3TWpVME5qUTBOaXdpWVhWMGFHOXlhWFI1SWpveExDSnBaQ0k2TWpJMGZRLmpsLWliT3VxWDc4WVpIY2MwTllIaVhmWWdFajdhOFlHR2dyZ0Y2UG0wSEE
6czAwcGVyczNjcmV0'
\
-
H
'Connection: keep-alive'
\
-
H
'Connection: keep-alive'
\
-
H
'Co
ntent-Type: application/json;charset=UTF-8
'
\
-
H
'Co
okie: 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.eyJpYXQiOjE3MDI1MzkyNDYsImV4cCI6MTcwMjU0NjQ0NiwiYXV0aG9yaXR5IjoxLCJpZCI6MjI0fQ.jl-ibOuqX78YZHcc0NYHiXfYgEj7a8YGGgrgF6Pm0HA
'
\
-
H
'Origin: http://
localhost:8080
'
\
-
H
'Origin: http://
tx-gz14.heyqiwu.cn
'
\
-
H
'Referer: http://
localhost:8080
/'
\
-
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/1
19
.0.0.0 Safari/537.36'
\
-
H
'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/1
20
.0.0.0 Safari/537.36'
\
-
H
'botAccount:
6080626246
'
\
-
H
'botAccount:
txgz14botwww853177949
'
\
-
H
'groupId: 7
6
'
\
-
H
'groupId: 7
13
'
\
-
H
'mul: true'
\
-
H
'mul: true'
\
-
H
'projectId: 1'
\
-
H
'projectId: 6381'
\
--
data
-
raw
'{"plotId":2162112,"plotNum":"0-19","plotPlaceId":44444,"plotPlaceName":"任意地点","categoryId":45964,"plotTextVos":[{"id":11157390,"content":"►打开:当前作品:开始◄","npcId":145382,"npcName":"家丁","mood":"正常","plotId":2162112,"offline":true},{"id":11157391,"content":"2222222222222","npcId":145385,"npcName":"大叔","mood":"正常","plotId":2162112,"offline":false},{"id":11157392,"content":"22","npcId":145388,"npcName":"县太爷","mood":"正常","plotId":2162112,"offline":false},{"id":11157393,"content":"111","npcId":145388,"npcName":"县太爷","mood":"正常","plotId":2162112,"offline":false},{"id":11157394,"content":"wdwdwd","npcId":145382,"npcName":"家丁","mood":"正常","plotId":2162112,"offline":true}],"note":"w","bgmUrl":"","imgUrl":"http://tx-gz14.heyqiwu.cn/media/6080626246/img/plot/NFVRkoe1700818475596.jpeg"}'
\
--
compressed
\
--
compressed
\
--
insecure
--
insecure
```
```
...
@@ -590,9 +589,9 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/plot/text/1/' \
...
@@ -590,9 +589,9 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/plot/text/1/' \
#### 请求param字段说明
#### 请求param字段说明
| key | type | required | description |
| key | type | required | description |
| ---------- | ---- | -------- | --------------------------- |
| ---------- | ----
--
| -------- | --------------------------- |
| categoryId |
| yes | 分类id |
| categoryId |
number
| yes | 分类id |
| searchText |
| no | 搜索文本 编号/角色名称/文本 |
| searchText |
string
| no | 搜索文本 编号/角色名称/文本 |
#### 请求body字段说明
#### 请求body字段说明
...
@@ -676,7 +675,7 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/plot/search/?categoryId=4596
...
@@ -676,7 +675,7 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/plot/search/?categoryId=4596
}
}
```
```
### 设置开始剧情
编号
### 设置开始剧情
**METHOD**
: POST
**METHOD**
: POST
...
@@ -687,15 +686,15 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/plot/search/?categoryId=4596
...
@@ -687,15 +686,15 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/plot/search/?categoryId=4596
#### 请求path字段说明
#### 请求path字段说明
| key | type | required | description |
| key | type | required | description |
| --------- | ---- | -------- | ----------- |
| --------- | ----
--
| -------- | ----------- |
| projectId |
| yes | 项目ID |
| projectId |
number
| yes | 项目ID |
#### 请求param字段说明
#### 请求param字段说明
| key | type | required | description |
| key | type | required | description |
| ----------- | ---- | -------- | ------------ |
| ----------- | ----
--
| -------- | ------------ |
| startNum |
| yes | 开始剧情编号 |
| startNum |
string
| yes | 开始剧情编号 |
| startPlotId |
| no | 开始剧情点id |
| startPlotId |
number
| no | 开始剧情点id |
#### 请求body字段说明
#### 请求body字段说明
...
@@ -737,7 +736,7 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/project/1/start_num?startNum
...
@@ -737,7 +736,7 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/project/1/start_num?startNum
}
}
```
```
### 获取开始剧情
编号
### 获取开始剧情
**METHOD**
: GET
**METHOD**
: GET
...
@@ -748,15 +747,15 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/project/1/start_num?startNum
...
@@ -748,15 +747,15 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/project/1/start_num?startNum
#### 请求path字段说明
#### 请求path字段说明
| key | type | required | description |
| key | type | required | description |
| --------- | ---- | -------- | ----------- |
| --------- | ----
--
| -------- | ----------- |
| projectId |
| yes | 项目id |
| projectId |
number
| yes | 项目id |
#### 请求param字段说明
#### 请求param字段说明
| key | type | required | description |
| key | type | required | description |
| ---------- | ---- | -------- | --------------------------- |
| ---------- | ----
--
| -------- | --------------------------- |
| categoryId |
| yes | 分类id |
| categoryId |
number
| yes | 分类id |
| searchText |
| no | 搜索文本 编号/角色名称/文本 |
| searchText |
string
| no | 搜索文本 编号/角色名称/文本 |
#### 请求body字段说明
#### 请求body字段说明
...
@@ -796,7 +795,7 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/project/1/start_num' \
...
@@ -796,7 +795,7 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/project/1/start_num' \
}
}
```
```
### 预览
剧情
### 预览
跳转
**METHOD**
: POST
**METHOD**
: POST
...
@@ -807,10 +806,10 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/project/1/start_num' \
...
@@ -807,10 +806,10 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/project/1/start_num' \
#### 请求param字段说明
#### 请求param字段说明
| key | type | required | description |
| key | type | required | description |
| ---------- | ---- | -------- | --------------------------------------- |
| ---------- | ----
--
| -------- | --------------------------------------- |
| categoryId |
| yes | 分类id
|
| categoryId |
number | yes | 剧情分组ID
|
| searchText |
| no | 搜索文本 编号/角色/文本/话语意图/关键词 |
| searchText |
string
| no | 搜索文本 编号/角色/文本/话语意图/关键词 |
| projectId |
| yes | 项目id |
| projectId |
number
| yes | 项目id |
#### 请求body字段说明
#### 请求body字段说明
...
...
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