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
songyinting
jiaoyou_doc
Commits
f3c35fd5
Commit
f3c35fd5
authored
Sep 09, 2021
by
zhou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新最短路径接口文档
parent
d3d4d01d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
70 additions
and
19 deletions
+70
-19
开始和结束剧情最短路径.md
dramaeditor/开始和结束剧情最短路径.md
+70
-19
No files found.
dramaeditor/开始和结束剧情最短路径.md
View file @
f3c35fd5
1.
1
查询词性内容
1.
1
查询词性内容
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
| ------------- | -------- | -------- | ---- |
| ------------- | -------- | -------- | ---- |
| projectId | Long | 作品id | Y |
| projectId | Long | 作品id | Y |
| startingPoint | String | 开始剧情 | Y |
| startingPoint | String | 开始剧情 | Y |
| destination | String |
借宿
剧情 | Y |
| destination | String |
结束
剧情 | Y |
-
请求参数示例
-
请求参数示例
...
@@ -25,42 +25,93 @@ curl --location --request GET 'localhost:48089/plotpoint/shortestPath?projectId=
...
@@ -25,42 +25,93 @@ curl --location --request GET 'localhost:48089/plotpoint/shortestPath?projectId=
localhost:48089/plotpoint/shortestPath?projectId=1170&startingPoint=1-1&destination=1-9
localhost:48089/plotpoint/shortestPath?projectId=1170&startingPoint=1-1&destination=1-9
```
```
4.
响应参数
| 参数名 | 参数类型 | 描述 | 必须 |
| ----------- | -------- | ---------- | ---- |
| shortCount | Integer | 路劲总数 | Y |
| userSpeech | String | 分支内容 | Y |
| nextPlotNum | String | 分支剧情点 | Y |
4.
响应参数示例
5.
响应参数示例
```
```
{
{
"code": 1,
"code": 1,
"msg": "成功",
"msg": "成功",
"data": {
"data": {
"shortCount": 4,
"chartAndUserSpeechVoList": [
"shortSpeechVo": [
{
"shortUserSpeechVo": {
"primate": "1-2",
"charactersBOS": [
{
{
"npcName": "狐妈妈",
"content": "快,先进来,想吃什么,妈妈给你做。"
}
]
},
"shortChartVo": {
"userSpeech": null,
"userSpeech": null,
"nextPlotNum": "1-1"
"nextPlotNum": "1-9"
}
},
},
{
{
"userSpeech": "对啊我就是攀上高枝了+你就是眼红了吧",
"shortUserSpeechVo": {
"nextPlotNum": "1-2"
"primate": "1-9",
"charactersBOS": [
{
"npcName": "旁白",
"content": "狐妈妈见你回来开心极了,连续给你做了好几天的荤食。就连关关也来你家蹭了好几顿饭,以至于你和关关的脸肉眼可见的变圆了一圈。这天,关关依旧来你家蹭了饭,酒足饭饱后关关打了一个饱嗝,从怀里掏出了一封邀请函,道:"
},
{
"npcName": "关关",
"content": "对了,这是我昨天晚上收到了一封邀请函,说是让你和我去一个叫碧海的地方,我们去不去?"
}
]
},
"shortChartVo": {
"userSpeech": "不去我不想去别去了",
"nextPlotNum": "1-11"
}
},
},
{
{
"shortUserSpeechVo": {
"primate": "1-11",
"charactersBOS": [
{
"npcName": "关关",
"content": "好吧,那咱就别去了。"
}
]
},
"shortChartVo": {
"userSpeech": null,
"userSpeech": null,
"nextPlotNum": "1-8"
"nextPlotNum": "1-18"
}
},
},
{
{
"userSpeech": "不是这样的+我不会这么做+我没有这样",
"shortUserSpeechVo": {
"nextPlotNum": "1-9"
"primate": "1-18",
"charactersBOS": [
{
"npcName": "旁边",
"content": "你和关关分开后,各自回家和家人说明了情况。第二日,青龙手持信件前来接你们,它不会说话,只是低头示意你们坐到它身上去。随后,你就和关关坐到了青龙身上,待你们坐稳后,它一个腾飞就载着你们冲进了云霄之中,前往碧海。关关从昨天就一直纳闷,到底是谁邀请的你们,于是,她开口问道:"
},
{
"npcName": "关关",
"content": "九歌,据我阅读古籍知道,碧海是在东海那边,你猜会是谁叫我们去碧海的呢?"
}
}
]
]
},
"shortChartVo": {
"userSpeech": "我不知道我猜不出来不清楚是谁",
"nextPlotNum": "1-19"
}
}
],
"minShortPath": [
"1-2",
"1-9",
"1-11",
"1-18",
"1-19"
],
"pathCount": 5
}
}
}
}
```
```
...
...
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