Commit efef3948 by jixudong

Replace 项目列表-剧情-剧情列表.md

parent ef730ad6
**测试环境URL**:http://tx-gz14.heyqiwu.cn **测试环境URL**:http://tx-gz14.heyqiwu.cn
...@@ -14,9 +14,9 @@ ...@@ -14,9 +14,9 @@
#### 请求path字段说明 #### 请求path字段说明
| key | type | required | description | | key | type | required | description |
| --------- | ---- | -------- | ----------- | | --------- | ------ | -------- | ----------- |
| projectId | | yes | 项目id | | projectId | number | yes | 项目id |
#### 请求param字段说明 #### 请求param字段说明
...@@ -216,9 +216,9 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/work/base/data/963' \ ...@@ -216,9 +216,9 @@ 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
...@@ -288,9 +288,9 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/plot/all?projectId=963' \ ...@@ -288,9 +288,9 @@ 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字段说明
...@@ -388,29 +388,29 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/plot/text/?categoryId=45964' ...@@ -388,29 +388,29 @@ 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 | 是否是离线声音 |
#### 请求示例 #### 请求示例
...@@ -453,9 +453,9 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/plot/text/' \ ...@@ -453,9 +453,9 @@ 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字段说明
...@@ -465,29 +465,29 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/plot/text/' \ ...@@ -465,29 +465,29 @@ 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 | 是否是离线声音 |
#### 请求示例 #### 请求示例
...@@ -531,9 +531,9 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/plot/text/1/' \ ...@@ -531,9 +531,9 @@ 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 ZXlKaGJHY2lPaUpJVXpJMU5pSjkuZXlKcFlYUWlPakUzTURBNE1UUTJNVFVzSW1WNGNDSTZNVGN3TURneU1UZ3hOU3dpWVhWMGFHOXlhWFI1SWpveExDSnBaQ0k2TWpJMGZRLmVMT2dXOUZTUGtkRFhMSWlfZ2YyeFBDcnJpMFJER29QOEhmYi1aWXVmU1U6czAwcGVyczNjcmV0' \ -H 'Authorization: Basic ZXlKaGJHY2lPaUpJVXpJMU5pSjkuZXlKcFlYUWlPakUzTURJMU16a3lORFlzSW1WNGNDSTZNVGN3TWpVME5qUTBOaXdpWVhWMGFHOXlhWFI1SWpveExDSnBaQ0k2TWpJMGZRLmpsLWliT3VxWDc4WVpIY2MwTllIaVhmWWdFajdhOFlHR2dyZ0Y2UG0wSEE6czAwcGVyczNjcmV0' \
-H 'Connection: keep-alive' \ -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.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/119.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/120.0.0.0 Safari/537.36' \
-H 'botAccount: 6080626246' \ -H 'botAccount: txgz14botwww853177949' \
-H 'groupId: 76' \ -H 'groupId: 713' \
-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
``` ```
...@@ -589,10 +588,10 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/plot/text/1/' \ ...@@ -589,10 +588,10 @@ 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
...@@ -686,16 +685,16 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/plot/search/?categoryId=4596 ...@@ -686,16 +685,16 @@ 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
...@@ -747,16 +746,16 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/project/1/start_num?startNum ...@@ -747,16 +746,16 @@ 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
...@@ -806,11 +805,11 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/project/1/start_num' \ ...@@ -806,11 +805,11 @@ 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字段说明
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment