Commit 2baf437b by zhou

剧本编辑器添加查询监听功能

parent adf143d8
...@@ -952,16 +952,6 @@ localhost:48089/plotpoint/getAllRoles?projectId=149 ...@@ -952,16 +952,6 @@ localhost:48089/plotpoint/getAllRoles?projectId=149
"updateTime": "2021-08-17T07:41:05.000+00:00" "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, "id": 35,
"workId": 149, "workId": 149,
"roleName": "分支2", "roleName": "分支2",
...@@ -1051,185 +1041,6 @@ localhost:48089/plotpoint/updateByStyle?workId=89&speakStyle=滕志梅(11111服 ...@@ -1051,185 +1041,6 @@ localhost:48089/plotpoint/updateByStyle?workId=89&speakStyle=滕志梅(11111服
"msg": "成功", "msg": "成功",
"data": [ "data": [
{ {
"intentName": "同意陪",
"branchs": [
{
"branchName": "不陪我",
"examples": "陪伴我\n陪我",
"auxiliaryPriority": "10",
"semanticTriples": [
{
"semanticRelationName": "ruleb0dob0whatb0vn",
"valueRange": "[项目词组陪伴动词]:visitor"
}
]
},
{
"branchName": "同意陪",
"examples": "同意陪\n答应陪伴",
"auxiliaryPriority": "10",
"semanticTriples": [
{
"semanticRelationName": "ruleb0dob0whatb0vv",
"valueRange": "[项目词组同意动词]:[项目词组陪伴动词]"
}
]
},
{
"branchName": "当然陪",
"examples": "当然陪\n一定陪伴",
"auxiliaryPriority": "10",
"semanticTriples": [
{
"semanticRelationName": "ruleb0dob0whatb0adv",
"valueRange": "[项目词组当然肯定副词]:[项目词组陪伴动词]"
}
]
},
{
"branchName": "愿意陪",
"examples": "愿意陪伴\n想陪",
"auxiliaryPriority": "10",
"semanticTriples": [
{
"semanticRelationName": "ruleb0dob0whatb0vv",
"valueRange": "[项目词组同意意愿动词]:[项目词组陪伴动词]"
}
]
},
{
"branchName": "继续",
"examples": null,
"auxiliaryPriority": "10",
"semanticTriples": [
{
"semanticRelationName": "ruleb0certainb0answer",
"valueRange": "继续"
}
]
},
{
"branchName": "陪一下",
"examples": "先陪\n就陪伴",
"auxiliaryPriority": "10",
"semanticTriples": [
{
"semanticRelationName": "ruleb0dob0whatb0adv",
"valueRange": "一下:[项目词组陪伴动词]+就:[项目词组陪伴动词]+先:[项目词组陪伴动词]"
}
]
},
{
"branchName": "陪他们",
"examples": "陪他们\n陪她",
"auxiliaryPriority": "10",
"semanticTriples": [
{
"semanticRelationName": "ruleb0dob0whatb0vn",
"valueRange": "[项目词组陪伴动词]:[项目词组第三人称词组]"
}
]
},
{
"branchName": "陪你",
"examples": "陪伴你\n陪你",
"auxiliaryPriority": "10",
"semanticTriples": [
{
"semanticRelationName": "ruleb0dob0whatb0vn",
"valueRange": "[项目词组陪伴动词]:bot"
}
]
},
{
"branchName": "陪动作",
"examples": "陪打球\n陪伴游泳",
"auxiliaryPriority": "10",
"semanticTriples": [
{
"semanticRelationName": "ruleb0dob0whatb0vv",
"valueRange": "[项目词组陪伴动词]:[项目词组动作类词组]"
}
]
},
{
"branchName": "陪吧",
"examples": "陪吧\n陪伴",
"auxiliaryPriority": "9",
"semanticTriples": [
{
"semanticRelationName": "ruleb0certainb0answer",
"valueRange": "[项目词组陪伴动词]"
}
]
}
],
"phrases": [
{
"phraseName": "项目词组同意动词",
"pos": null,
"words": "希望+同意+期待+保证+答应+订交+许诺+允诺+容许+承诺+赞助+附和+认可+允许+接受+应承+批准+答允+赞成+许可+应允+和议+订定+制定+应许+愿望+协议+乐意+准许+认同+愿意+支持+赞同+愿",
"highPerformance": false,
"wordSet": null,
"ableEdit": false
},
{
"phraseName": "项目词组同意意愿动词",
"pos": null,
"words": "计划+要+想要+希望+打算+选+准备+选择+想+需要+乐意+应该+会+可以+愿意+考虑+愿",
"highPerformance": false,
"wordSet": null,
"ableEdit": false
},
{
"phraseName": "项目词组动作类词组",
"pos": null,
"words": "带走+失踪+锻炼+使用+说+etc+游泳+批评+打球+逃走",
"highPerformance": false,
"wordSet": null,
"ableEdit": true
},
{
"phraseName": "项目词组陪伴动词",
"pos": null,
"words": "陪同+伴随+陪陪+陪伴+陪+随同",
"highPerformance": false,
"wordSet": null,
"ableEdit": false
},
{
"phraseName": "项目词组第三人称词组",
"pos": null,
"words": "它们俩+它们+他们俩+它+他+她们+她+他俩+她俩+它俩+他们+她们俩",
"highPerformance": false,
"wordSet": null,
"ableEdit": false
},
{
"phraseName": "项目词组当然肯定副词",
"pos": null,
"words": "仍然+依旧+一定+依然+绝对+肯定+当然+必须+应该+必然+必定+照旧",
"highPerformance": false,
"wordSet": null,
"ableEdit": false
}
],
"wsces": [
{
"o": "bot",
"s": "陪",
"customWord": "和你在一起,和你一起,同你一起,跟你一起,同你一起,我和你在一起,我和你一起,我同你一起,我跟你一起,我同你一起",
"semanticRelationName": "ruleb0dob0whatb0vn"
},
{
"o": "陪",
"s": "吧",
"customWord": "[项目词组陪伴动词]",
"semanticRelationName": "ruleb0certainb0answer"
}
]
},
{
"intentName": "同意看", "intentName": "同意看",
"branchs": [ "branchs": [
{ {
...@@ -1513,10 +1324,8 @@ FAILTURE: ...@@ -1513,10 +1324,8 @@ FAILTURE:
1. 请求方式 1. 请求方式
Request Method: GET Request Method: GET
Path: localhost:48089/plotpoint/getStartPlot Path: localhost:48089/plotpoint/getStartPlot
2. 请求头:无
2.请求头:无 3. 请求参数
3.请求参数
| 参数名 | 参数类型 | 描述 | 必须 | | 参数名 | 参数类型 | 描述 | 必须 |
| ------ | -------- | ------ | ---- | | ------ | -------- | ------ | ---- |
...@@ -1540,3 +1349,57 @@ curl --location --request GET 'localhost:48089/plotpoint/getStartPlot?workId=314 ...@@ -1540,3 +1349,57 @@ curl --location --request GET 'localhost:48089/plotpoint/getStartPlot?workId=314
} }
``` ```
## 3.1查询监听
1. 请求方式
Request Method: GET
Path: localhost:48089/plotpoint/findMonitor
2. 请求头:无
3. 请求参数
| 参数名 | 参数类型 | 描述 | 必须 |
| ------ | -------- | ------ | ---- |
| workId | Long | 作品id | Y |
4.请求示例
```
curl --location --request GET 'localhost:48089/plotpoint/findMonitor?workId=331' \
--header 'Authorization: Basic ZXlKaGJHY2lPaUpJVXpJMU5pSjkuZXlKcFlYUWlPakUyTXpBeU9UWTROeklzSW1WNGNDSTZNVFl6TURNNE16STNNaXdpWVhWMGFHOXlhWFI1SWpveExDSnBaQ0k2TVgwLlVmZlBFMzhPUm5NVkQ4alB4eWx1N2dlWFgzNm9QbDNMM0VOc09URUE3OTQ6czAwcGVyczNjcmV0' \
--header 'Content-Type: application/json' \
--data-raw '{
"workId":295
}'
```
5.响应参数
| 参数名 | 参数类型 | 描述 | 必须 |
| ------ | -------- | ---- | ---- |
| number | string | 监听 | Y |
6.响应体示例
```
{
"code": 1,
"msg": "成功",
"data": {
"id": 11217,
"number": "监听",
"texts": [],
"branchs": [],
"projectId": 331,
"ownerId": 1,
"previous": null,
"merge": false,
"uncondition": null,
"complete": false,
"wordCount": 0,
"branchCount": 0,
"commentId": 11217,
"commentCount": 0
}
}
```
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