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
6ad61043
Commit
6ad61043
authored
Aug 25, 2021
by
zhou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
剧本编辑
parent
34dc6ec4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
339 additions
and
35 deletions
+339
-35
剧情编辑前后端接口文档.md
dramaeditor/剧情编辑前后端接口文档.md
+339
-35
No files found.
dramaeditor/剧情编辑前后端接口文档.md
View file @
6ad61043
...
@@ -8,8 +8,16 @@
...
@@ -8,8 +8,16 @@
</font>
</font>
<hr
style=
" border:solid; width:100px; height:1px;"
color=
#000000
size=
1"
>
<hr
style=
" border:solid; width:100px; height:1px;"
color=
#000000
size=
1"
>
## 公共请求头 :Authorization:token(登录后返回)
## 公共请求头 :Authorization:token(登录后返回)
# 1.测试环境部署地址
## 1.1后端部署
-
服务器:gz26
-
服务器部署地址:/home/jiaoyou/projects_dev/plotEditor
-
前端部署地址:/var/www/html/dramaeditor
# 一、登录注册
# 一、登录注册
## 1.1登录
## 1.1登录
### 请求参数
### 请求参数
...
@@ -18,7 +26,7 @@
...
@@ -18,7 +26,7 @@
Path: /ploteditor/login
Path: /ploteditor/login
2.
请求头:无
2.
请求头:无
3.
请求参数
3.
请求参数
参数名 | 参数类型 | 描述 | 必须
参数名 | 参数类型 | 描述 | 必须
-------- | ----- | ----- | -----
-------- | ----- | ----- | -----
ueserName | String | 用户名 | Y
ueserName | String | 用户名 | Y
...
@@ -32,7 +40,7 @@ passWord | String | 用户密码 | Y
...
@@ -32,7 +40,7 @@ passWord | String | 用户密码 | Y
```
```
### 响应参数
### 响应参数
-
响应参数data说明
-
响应参数data说明
参数名 | 参数类型 | 描述 | 必须
参数名 | 参数类型 | 描述 | 必须
-------- | ----- | ----- | -----
-------- | ----- | ----- | -----
duration | Long | token有效时间 | Y
duration | Long | token有效时间 | Y
...
@@ -59,7 +67,7 @@ authority | String | 用户权限等级 | Y
...
@@ -59,7 +67,7 @@ authority | String | 用户权限等级 | Y
Path: /ploteditor/email
Path: /ploteditor/email
2.
请求头:无
2.
请求头:无
3.
请求参数
3.
请求参数
参数名 | 参数类型 | 描述 | 必须
参数名 | 参数类型 | 描述 | 必须
-------- | ----- | ----- | -----
-------- | ----- | ----- | -----
email | String | 邮箱 | Y
email | String | 邮箱 | Y
...
@@ -88,7 +96,7 @@ forgotPassword | Boolean | 发送验证码作用(true:忘记密码/false:注
...
@@ -88,7 +96,7 @@ forgotPassword | Boolean | 发送验证码作用(true:忘记密码/false:注
Path: /ploteditor/registered
Path: /ploteditor/registered
2.
请求头:无
2.
请求头:无
3.
请求参数
3.
请求参数
参数名 | 参数类型 | 描述 | 必须
参数名 | 参数类型 | 描述 | 必须
-------- | ----- | ----- | -----
-------- | ----- | ----- | -----
ueserName | String | 用户名 | Y
ueserName | String | 用户名 | Y
...
@@ -120,7 +128,7 @@ code | String | 验证码 | Y
...
@@ -120,7 +128,7 @@ code | String | 验证码 | Y
Path: /ploteditor/forgot
Path: /ploteditor/forgot
2.
请求头:无
2.
请求头:无
3.
请求参数
3.
请求参数
参数名 | 参数类型 | 描述 | 必须
参数名 | 参数类型 | 描述 | 必须
-------- | ----- | ----- | -----
-------- | ----- | ----- | -----
ueserName | String | 用户名 | Y
ueserName | String | 用户名 | Y
...
@@ -153,7 +161,7 @@ code | String | 验证码 | Y
...
@@ -153,7 +161,7 @@ code | String | 验证码 | Y
Path: /work/insert
Path: /work/insert
2.
请求头:无
2.
请求头:无
3.
请求参数
3.
请求参数
参数名 | 参数类型 | 描述 | 必须
参数名 | 参数类型 | 描述 | 必须
-------- | ----- | ----- | -----
-------- | ----- | ----- | -----
name | String | 新增作品名称 | Y
name | String | 新增作品名称 | Y
...
@@ -188,7 +196,7 @@ gmtModified | data | 用户修改时间 | Y
...
@@ -188,7 +196,7 @@ gmtModified | data | 用户修改时间 | Y
Path: /work/update
Path: /work/update
2.
请求头:无
2.
请求头:无
3.
请求参数
3.
请求参数
参数名 | 参数类型 | 描述 | 必须
参数名 | 参数类型 | 描述 | 必须
-------- | ----- | ----- | -----
-------- | ----- | ----- | -----
id | Long | 作品编号 | Y
id | Long | 作品编号 | Y
...
@@ -219,7 +227,7 @@ count | int | 作品字数 | Y
...
@@ -219,7 +227,7 @@ count | int | 作品字数 | Y
Path: /work/inquiry
Path: /work/inquiry
2.
请求头:无
2.
请求头:无
3.
请求参数
3.
请求参数
参数名 | 参数类型 | 描述 | 必须
参数名 | 参数类型 | 描述 | 必须
-------- | ----- | ----- | -----
-------- | ----- | ----- | -----
name | String |作品名 | Y
name | String |作品名 | Y
...
@@ -229,7 +237,7 @@ curl --location --request GET 'http://localhost:48089/work/inquiry?name=%E7%AC%A
...
@@ -229,7 +237,7 @@ curl --location --request GET 'http://localhost:48089/work/inquiry?name=%E7%AC%A
```
```
## 响应参数
## 响应参数
-
响应参数data说明
-
响应参数data说明
参数名 | 参数类型 | 描述 | 必须
参数名 | 参数类型 | 描述 | 必须
-------- | ----- | ----- | -----
-------- | ----- | ----- | -----
id | Long | 作品id | Y
id | Long | 作品id | Y
...
@@ -261,7 +269,7 @@ gmtModified | data | 用户修改时间 | Y
...
@@ -261,7 +269,7 @@ gmtModified | data | 用户修改时间 | Y
Path: /work/delete
Path: /work/delete
2.
请求头:无
2.
请求头:无
3.
请求参数
3.
请求参数
参数名 | 参数类型 | 描述 | 必须
参数名 | 参数类型 | 描述 | 必须
-------- | ----- | ----- | -----
-------- | ----- | ----- | -----
id | int | 作品id | Y
id | int | 作品id | Y
...
@@ -286,7 +294,7 @@ curl --location --request DELETE 'http://localhost:48089/work/delete?id=8'
...
@@ -286,7 +294,7 @@ curl --location --request DELETE 'http://localhost:48089/work/delete?id=8'
Path: /plotpoint/insertAll
Path: /plotpoint/insertAll
2.
请求头:无
2.
请求头:无
3.
请求参数
3.
请求参数
参数名 | 参数类型 | 描述 | 必须
参数名 | 参数类型 | 描述 | 必须
-------- | ----- | ----- | -----
-------- | ----- | ----- | -----
id | int | 作品id | Y
id | int | 作品id | Y
...
@@ -296,7 +304,7 @@ curl --location --request GET 'http://localhost:48089/plotpoint/insertAll?Id=1'
...
@@ -296,7 +304,7 @@ curl --location --request GET 'http://localhost:48089/plotpoint/insertAll?Id=1'
```
```
## 响应参数
## 响应参数
-
响应参数data说明
-
响应参数data说明
参数名 | 参数类型 | 描述 | 必须
参数名 | 参数类型 | 描述 | 必须
-------- | ----- | ----- | -----
-------- | ----- | ----- | -----
id | Long | 剧情点id | Y
id | Long | 剧情点id | Y
...
@@ -349,7 +357,7 @@ branchCount | int | 剧情点分支数量 | Y
...
@@ -349,7 +357,7 @@ branchCount | int | 剧情点分支数量 | Y
Path: /work/inquiryAll
Path: /work/inquiryAll
2.
请求头:无
2.
请求头:无
3.
请求参数
3.
请求参数
参数名 | 参数类型 | 描述 | 必须
参数名 | 参数类型 | 描述 | 必须
-------- | ----- | ----- | -----
-------- | ----- | ----- | -----
4.
请求体示例
4.
请求体示例
...
@@ -358,7 +366,7 @@ curl --location --request GET 'http://localhost:48089/work/inquiryAll'
...
@@ -358,7 +366,7 @@ curl --location --request GET 'http://localhost:48089/work/inquiryAll'
```
```
## 响应参数
## 响应参数
-
响应参数data说明
-
响应参数data说明
参数名 | 参数类型 | 描述 | 必须
参数名 | 参数类型 | 描述 | 必须
-------- | ----- | ----- | -----
-------- | ----- | ----- | -----
id | int | 作品id | Y
id | int | 作品id | Y
...
@@ -393,7 +401,7 @@ count | int | 作品字数 | Y
...
@@ -393,7 +401,7 @@ count | int | 作品字数 | Y
Path: /work/getJson
Path: /work/getJson
2.
请求头:无
2.
请求头:无
3.
请求参数
3.
请求参数
参数名 | 参数类型 | 描述 | 必须
参数名 | 参数类型 | 描述 | 必须
-------- | ----- | ----- | -----
-------- | ----- | ----- | -----
id | int | 作品id | Y
id | int | 作品id | Y
...
@@ -403,7 +411,7 @@ curl --location --request GET 'http://localhost:48089/work/getJson?id=1'
...
@@ -403,7 +411,7 @@ curl --location --request GET 'http://localhost:48089/work/getJson?id=1'
```
```
## 响应参数
## 响应参数
-
响应参数data说明
-
响应参数data说明
参数名 | 参数类型 | 描述 | 必须
参数名 | 参数类型 | 描述 | 必须
-------- | ----- | ----- | -----
-------- | ----- | ----- | -----
filePath | String | 文件下载路径 | Y
filePath | String | 文件下载路径 | Y
...
@@ -424,7 +432,7 @@ filePath | String | 文件下载路径 | Y
...
@@ -424,7 +432,7 @@ filePath | String | 文件下载路径 | Y
Path: /work/setJson
Path: /work/setJson
2.
请求头:无
2.
请求头:无
3.
请求参数
3.
请求参数
参数名 | 参数类型 | 描述 | 必须
参数名 | 参数类型 | 描述 | 必须
-------- | ----- | ----- | -----
-------- | ----- | ----- | -----
multipartFile | .json文件 | 文件 | Y
multipartFile | .json文件 | 文件 | Y
...
@@ -451,7 +459,7 @@ curl --location --request post 'http://localhost:48089/work/setJson?id=1'
...
@@ -451,7 +459,7 @@ curl --location --request post 'http://localhost:48089/work/setJson?id=1'
Path: /comment/insert
Path: /comment/insert
2.
请求头:无
2.
请求头:无
3.
请求参数
3.
请求参数
参数名 | 参数类型 | 描述 | 必须
参数名 | 参数类型 | 描述 | 必须
-------- | ----- | ----- | -----
-------- | ----- | ----- | -----
id | Long | 评论id(不传说明是用户评论,而不是回答别人的评论) | Y
id | Long | 评论id(不传说明是用户评论,而不是回答别人的评论) | Y
...
@@ -475,14 +483,14 @@ plotId | Long | 剧情点id,取得是剧情点列表或详情返回的plot_id
...
@@ -475,14 +483,14 @@ plotId | Long | 剧情点id,取得是剧情点列表或详情返回的plot_id
}
}
```
```
## 2.2
搜索剧情点
## 2.2
查询评论
### 请求参数
### 请求参数
1.
请求方式
1.
请求方式
Request Method: GET
Request Method: GET
Path: /comment/inquiry
Path: /comment/inquiry
2.
请求头:无
2.
请求头:无
3.
请求参数
3.
请求参数
参数名 | 参数类型 | 描述 | 必须
参数名 | 参数类型 | 描述 | 必须
-------- | ----- | ----- | -----
-------- | ----- | ----- | -----
plotId | Long | 剧情点id,取得是剧情点列表或详情返回的plot_id | Y
plotId | Long | 剧情点id,取得是剧情点列表或详情返回的plot_id | Y
...
@@ -492,7 +500,7 @@ curl --location --request GET 'http://localhost:48089/comment/inquiry?plotId=1'
...
@@ -492,7 +500,7 @@ curl --location --request GET 'http://localhost:48089/comment/inquiry?plotId=1'
```
```
## 响应参数
## 响应参数
-
响应参数data说明
-
响应参数data说明
参数名 | 参数类型 | 描述 | 必须
参数名 | 参数类型 | 描述 | 必须
-------- | ----- | ----- | -----
-------- | ----- | ----- | -----
id | Long | 评论id | Y
id | Long | 评论id | Y
...
@@ -537,14 +545,14 @@ gmtCreate | String | 评论时间 | Y
...
@@ -537,14 +545,14 @@ gmtCreate | String | 评论时间 | Y
}
}
```
```
## 2.3删除
剧情点
## 2.3删除
评论
### 请求参数
### 请求参数
1.
请求方式
1.
请求方式
Request Method: DELETE
Request Method: DELETE
Path: /comment/delete
Path: /comment/delete
2.
请求头:无
2.
请求头:无
3.
请求参数
3.
请求参数
参数名 | 参数类型 | 描述 | 必须
参数名 | 参数类型 | 描述 | 必须
-------- | ----- | ----- | -----
-------- | ----- | ----- | -----
id | Long | 评论id | Y
id | Long | 评论id | Y
...
@@ -561,7 +569,7 @@ curl --location --request DELETE 'http://localhost:48089/comment/delete?Id=7'
...
@@ -561,7 +569,7 @@ curl --location --request DELETE 'http://localhost:48089/comment/delete?Id=7'
"data"
:
null
"data"
:
null
}
}
```
```
#
三
、剧情点页面
#
四
、剧情点页面
## 2.1新增剧情点
## 2.1新增剧情点
### 请求参数
### 请求参数
1.
请求方式
1.
请求方式
...
@@ -569,7 +577,7 @@ curl --location --request DELETE 'http://localhost:48089/comment/delete?Id=7'
...
@@ -569,7 +577,7 @@ curl --location --request DELETE 'http://localhost:48089/comment/delete?Id=7'
Path: /plotpoint/insert
Path: /plotpoint/insert
2.
请求头:无
2.
请求头:无
3.
请求参数
3.
请求参数
参数名 | 参数类型 | 描述 | 必须
参数名 | 参数类型 | 描述 | 必须
-------- | ----- | ----- | -----
-------- | ----- | ----- | -----
branchs | List | 该剧情点分支 | Y
branchs | List | 该剧情点分支 | Y
...
@@ -626,7 +634,7 @@ uncondition | Boolean | true:开启任意跳转/false:关闭任意跳转 |
...
@@ -626,7 +634,7 @@ uncondition | Boolean | true:开启任意跳转/false:关闭任意跳转 |
Path: /plotpoint/inquiry
Path: /plotpoint/inquiry
2.
请求头:无
2.
请求头:无
3.
请求参数
3.
请求参数
参数名 | 参数类型 | 描述 | 必须
参数名 | 参数类型 | 描述 | 必须
-------- | ----- | ----- | -----
-------- | ----- | ----- | -----
plotText | String | 剧情点编号 | Y
plotText | String | 剧情点编号 | Y
...
@@ -637,7 +645,7 @@ curl --location --request GET 'http://localhost:48089/plotpoint/inquiry?plotText
...
@@ -637,7 +645,7 @@ curl --location --request GET 'http://localhost:48089/plotpoint/inquiry?plotText
```
```
## 响应参数
## 响应参数
-
响应参数data说明
-
响应参数data说明
参数名 | 参数类型 | 描述 | 必须
参数名 | 参数类型 | 描述 | 必须
-------- | ----- | ----- | -----
-------- | ----- | ----- | -----
id | Long | 剧情点id | Y
id | Long | 剧情点id | Y
...
@@ -690,7 +698,7 @@ branchCount | int | 剧情点分支数量 | Y
...
@@ -690,7 +698,7 @@ branchCount | int | 剧情点分支数量 | Y
Path: /plotpoint/delete
Path: /plotpoint/delete
2.
请求头:无
2.
请求头:无
3.
请求参数
3.
请求参数
参数名 | 参数类型 | 描述 | 必须
参数名 | 参数类型 | 描述 | 必须
-------- | ----- | ----- | -----
-------- | ----- | ----- | -----
id | Long | 剧情点id | Y
id | Long | 剧情点id | Y
...
@@ -716,7 +724,7 @@ curl --location --request DELETE 'http://localhost:48089/plotpoint/delete?Id=7&p
...
@@ -716,7 +724,7 @@ curl --location --request DELETE 'http://localhost:48089/plotpoint/delete?Id=7&p
Path: /plotpoint/detail
Path: /plotpoint/detail
2.
请求头:无
2.
请求头:无
3.
请求参数
3.
请求参数
参数名 | 参数类型 | 描述 | 必须
参数名 | 参数类型 | 描述 | 必须
-------- | ----- | ----- | -----
-------- | ----- | ----- | -----
id | Long | 剧情点id | Y
id | Long | 剧情点id | Y
...
@@ -726,7 +734,7 @@ curl --location --request GET 'http://localhost:48089/plotpoint/detail?number=1-
...
@@ -726,7 +734,7 @@ curl --location --request GET 'http://localhost:48089/plotpoint/detail?number=1-
```
```
## 响应参数
## 响应参数
-
响应参数data说明
-
响应参数data说明
参数名 | 参数类型 | 描述 | 必须
参数名 | 参数类型 | 描述 | 必须
-------- | ----- | ----- | -----
-------- | ----- | ----- | -----
nextPlotNum | String | 分支编号 | Y
nextPlotNum | String | 分支编号 | Y
...
@@ -747,6 +755,7 @@ complete | Boolean | true:剧情点已完善/false:未完善 | Y
...
@@ -747,6 +755,7 @@ complete | Boolean | true:剧情点已完善/false:未完善 | Y
wordCount | int | 剧情点字数 | Y
wordCount | int | 剧情点字数 | Y
branchCount | int | 剧情点分支数量 | Y
branchCount | int | 剧情点分支数量 | Y
reply | String | 上一步剧情分支内容 | Y
reply | String | 上一步剧情分支内容 | Y
commentId | Long | 剧情点复制id | Y
-
响应参数示例
-
响应参数示例
```
json
```
json
{
{
...
@@ -789,7 +798,8 @@ reply | String | 上一步剧情分支内容 | Y
...
@@ -789,7 +798,8 @@ reply | String | 上一步剧情分支内容 | Y
"uncondition"
:
true
,
"uncondition"
:
true
,
"complete"
:
false
,
"complete"
:
false
,
"wordCount"
:
15
,
"wordCount"
:
15
,
"branchCount"
:
2
"branchCount"
:
2
,
"commentId"
:
2
}
}
}
}
```
```
...
@@ -801,7 +811,7 @@ reply | String | 上一步剧情分支内容 | Y
...
@@ -801,7 +811,7 @@ reply | String | 上一步剧情分支内容 | Y
Path: /plotpoint/updata
Path: /plotpoint/updata
2.
请求头:无
2.
请求头:无
3.
请求参数
3.
请求参数
参数名 | 参数类型 | 描述 | 必须
参数名 | 参数类型 | 描述 | 必须
-------- | ----- | ----- | -----
-------- | ----- | ----- | -----
id | int | 剧情点id | Y
id | int | 剧情点id | Y
...
@@ -862,7 +872,7 @@ uncondition | Boolean | true:开启任意跳转/false:关闭任意跳转 |
...
@@ -862,7 +872,7 @@ uncondition | Boolean | true:开启任意跳转/false:关闭任意跳转 |
Path: /plotpoint/detect
Path: /plotpoint/detect
2.
请求头:无
2.
请求头:无
3.
请求参数
3.
请求参数
参数名 | 参数类型 | 描述 | 必须
参数名 | 参数类型 | 描述 | 必须
-------- | ----- | ----- | -----
-------- | ----- | ----- | -----
id | int | 作品id | Y
id | int | 作品id | Y
...
@@ -881,3 +891,297 @@ id | int | 作品id | Y
...
@@ -881,3 +891,297 @@ id | int | 作品id | Y
"data"
:
null
"data"
:
null
}
}
```
```
## 2.7根据作品id查询所有角色
### 请求参数
1.
请求方式
Request Method: GET
Path: /plotpoint/getAllRoles
2.
请求头:无
3.
请求参数
| 参数名 | 参数类型 | 描述 | 必须 |
| --------- | -------- | ------------ | ---- |
| projectId | Long | 作品id | Y |
| pageNum | Integer | 页码 | F |
| pageSize | Integer | 显示多少条数 | F |
4.
请求体示例
```
localhost:48089/plotpoint/getAllRoles?projectId=149
```
## 响应参数
-
响应参数data说明
| 参数名 | 参数类型 | 描述 | 必须 |
| ---------- | --------- | -------------------- | ---- |
| id | Long | 角色ID | F |
| workId | Long | 作品id | Y |
| roleName | String | 角色名称 | Y |
| speakStyle | String | 说话风格,播报的风格 | Y |
| intonation | int | 音调 | Y |
| speech | int | 语速 | Y |
| volume | int | 音量 | Y |
| updateTime | Timestamp | 更新时间 | F |
-
响应参数示例
```
{
"code": 1,
"msg": "成功",
"data": {
"records": [
{
"id": 33,
"workId": 149,
"roleName": "旁白",
"speakStyle": "滕志梅(客服女声)",
"intonation": 50,
"speech": 0,
"volume": 50,
"updateTime": "2021-08-17T07:41:05.000+00:00"
},
{
"id": 34,
"workId": 149,
"roleName": "分支1",
"speakStyle": "滕志梅(客服女声)",
"intonation": 50,
"speech": 0,
"volume": 50,
"updateTime": "2021-08-17T07:41:05.000+00:00"
},
{
"id": 35,
"workId": 149,
"roleName": "分支2",
"speakStyle": "滕志梅(客服女声)",
"intonation": 50,
"speech": 0,
"volume": 50,
"updateTime": "2021-08-17T07:41:05.000+00:00"
}
],
"total": 3,
"size": 5,
"current": 1,
"orders": [],
"hitCount": false,
"searchCount": true,
"pages": 1
}
}
```
## 2.8修改角色信息
### 请求参数
请求方式
Request Method: PUT
Path: /plotpoint/updateByStyle
请求头:无
请求参数
| 参数名 | 参数类型 | 描述 | 必须 |
| ---------- | -------- | -------- | ---- |
| workId | Long | 作品id | Y |
| speakStyle | String | 说话风格 | Y |
| intonation | int | 音调 | Y |
| speech | int | 语速 | Y |
| volume | int | 音量 | Y |
| roleName | String | 角色名称 | Y |
4.请求体示例
```
localhost:48089/plotpoint/updateByStyle?workId=89&speakStyle=滕志梅(11111服女声)&intonation=10&speech=90&volume=10&roleName=分支7
```
- 响应参数示例
```
{
"code": 1,
"msg": "更新成功!",
"data": null
}
```
## 2.8搜索意图
1. 请求方式
Request Method: POST
Path: /plotpoint/intention
2. 请求参数
| 参数名 | 参数类型 | 描述 | 必须 |
| ------ | -------- | ---------- | ----------- |
| sents | String | 意图搜索名 | Y请求体示例 |
3. 请求体示例
```
{
"sents":"愿意陪伴,没兴趣陪伴你,看看我"
}
```
4.响应参数示例
```
{
"code": 1,
"msg": "成功",
"data": {
"同意陪":
[
"先陪
\n
就陪伴",
"陪打球
\n
陪伴游泳",
"同意陪
\n
答应陪伴",
"愿意陪伴
\n
想陪",
"陪伴我
\n
陪我",
"陪吧
\n
陪伴",
"陪他们
\n
陪她",
"当然陪
\n
一定陪伴",
"陪伴你
\n
陪你"
],
"不同意陪":
[
"不陪伴你
\n
不陪你",
"不陪伴我
\n
不陪我",
"拒绝陪吗
\n
拒绝陪伴吗",
"我不陪
\n
我不陪伴",
"拒绝陪
\n
拒绝陪伴",
"讨厌陪
\n
讨厌陪伴",
"不愿意陪伴
\n
不想陪",
"没兴趣陪伴你
\n
没兴趣陪你",
"真丢人,要人陪",
"不陪
\n
不陪伴",
"不陪他们
\n
不陪她",
"不同意陪
\n
不答应陪伴"
],
"不同意看":
[
"拒绝看
\n
拒绝看见",
"不看他们
\n
别看她",
"拒绝看吗
\n
拒绝看见吗",
"我不看看
\n
我没看见",
"不看
\n
没看见",
"不看吗",
"不愿意看
\n
不想看",
"不去看看
\n
不过去看",
"不同意看
\n
不答应看",
"讨厌看
\n
讨厌看见",
"看什么看",
"没看我
\n
不看看我",
"没看你
\n
不看看你"
],
"同意看":
[
"看他们
\n
看她",
"我看看
\n
我瞧瞧",
"去看看
\n
过去看",
"看我
\n
看看我",
"同意看
\n
答应看",
"看你
\n
看看你",
"看吧
\n
看看",
"看吗
\n
看看吗",
"愿意看
\n
想看",
"看一下
\n
就看看"
]
}
}
```
## 2.9查看意图信息
1. 请求方式
Request Method: GET
Path: /plotpoint/selectBranch
2. 请求参数
| 参数名 | 参数类型 | 描述 | 必须 |
| --------- | -------- | ---- | ---- |
| intention | String | 意图 | Y |
3.请求体示例
```
localhost:48089/plotpoint/selectBranch?intention=同意陪
```
4.响应参数
| 参数名 | 参数类型 | 描述 | 必须 |
| --------------- | --------------- | ------------------------------- | ---- |
| examples | list<string> | map的key,value为string的集合 | Y |
| accompanyPhrase | list<PhrasesBo> | map的key,value为PhrasesBo的集合 | Y |
| agree | list<PhrasesBo> | map的key,value为PhrasesBo的集合 | Y |
| agreeWish | list<PhrasesBo> | map的key,value为PhrasesBo的集合 | Y |
5.响应参数示例
```
{
"code": 1,
"msg": "成功",
"data": {
"examples":
[
"先陪
\n
就陪伴",
"陪打球
\n
陪伴游泳",
"同意陪
\n
答应陪伴",
"愿意陪伴
\n
想陪",
"陪伴我
\n
陪我",
"陪吧
\n
陪伴",
"陪他们
\n
陪她",
"当然陪
\n
一定陪伴",
"陪伴你
\n
陪你"
],
"accompanyPhrase":
[
{
"phraseName": "项目词组陪伴动词",
"pos": null,
"words": "陪+陪陪+陪伴+陪同+伴随+随同",
"highPerformance": false,
"wordSet":
[
],
"ableEdit": false
}
],
"agree":
[
{
"phraseName": "项目词组同意动词",
"pos": null,
"words": "+同意+赞成+答应+应承+答允+承诺+愿意+允许+赞助+制定+附和+和议+协议+准许+订定+订交+应许+乐意+容许+许诺+允诺+应承+批准+赞成+许可+赞同+答应+应允+保证+支持+许可+准许+愿意+期待+愿+应允+希望+愿望+认同+认可+接受",
"highPerformance": false,
"wordSet":
[
],
"ableEdit": false
}
],
"agreeWish":
[
{
"phraseName": "项目词组同意意愿动词",
"pos": null,
"words": "要+想+需要+应该+想要+选+选择+会+可以+打算+准备+计划+愿意+乐意+希望+考虑+愿",
"highPerformance": false,
"wordSet":
[
],
"ableEdit": false
}
]
}
}
```
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