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
11143dc7
Commit
11143dc7
authored
Sep 01, 2021
by
zhou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加了词性功能
parent
4571405e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
127 additions
and
2 deletions
+127
-2
剧情编辑前后端接口文档.md
dramaeditor/剧情编辑前后端接口文档.md
+3
-2
查询所有分组编号.md
dramaeditor/查询所有分组编号.md
+36
-0
查询词性内容.md
dramaeditor/查询词性内容.md
+88
-0
No files found.
dramaeditor/剧情编辑前后端接口文档.md
View file @
11143dc7
...
@@ -299,9 +299,10 @@ curl --location --request DELETE 'http://localhost:48089/work/delete?id=8'
...
@@ -299,9 +299,10 @@ curl --location --request DELETE 'http://localhost:48089/work/delete?id=8'
参数名 | 参数类型 | 描述 | 必须
参数名 | 参数类型 | 描述 | 必须
-------- | ----- | ----- | -----
-------- | ----- | ----- | -----
id | int | 作品id | Y
id | int | 作品id | Y
plotSort | Long | 分组序号 | Y
4.
请求体示例
4.
请求体示例
```
```
curl --location --request GET 'http://localhost:48089/plotpoint/insertAll?Id=1'
curl --location --request GET 'http://localhost:48089/plotpoint/insertAll?Id=1
&plotSort=1
'
```
```
## 响应参数
## 响应参数
-
响应参数data说明
-
响应参数data说明
...
...
dramaeditor/查询所有分组编号.md
0 → 100644
View file @
11143dc7
## 查询所有分组
## 查询所有分组
1.
请求参数
2.
Request Method: Get
Path: plotpoint/findPlotSort
3.
请求参数
| 参数名 | 参数类型 | 描述 | 必须 |
| ------ | -------- | ------ | ---- |
| workId | Long | 作品id | Y |
-
请求参数示例
```
curl --location --request GET 'localhost:48089/plotpoint/findPlotSort?workId=332' \
--header 'Authorization: Basic ZXlKaGJHY2lPaUpJVXpJMU5pSjkuZXlKcFlYUWlPakUyTXpBek9UQTNNRFFzSW1WNGNDSTZNVFl6TURRM056RXdOQ3dpWVhWMGFHOXlhWFI1SWpveExDSnBaQ0k2TVgwLm1yTGJwQVF6dk5NRU15THlNcWF0WmFiZDJQY00wNlFGczY0U0Q1dW52UmM6czAwcGVyczNjcmV0' \
--data-raw ''
```
4.
响应参数
-
响应参数示例
```
{
"code": 1,
"msg": "成功",
"data": [
2,
122
]
}
```
dramaeditor/查询词性内容.md
0 → 100644
View file @
11143dc7
## 1.1 查询词性内容
## 1.1 查询词性内容
1.
请求参数
2.
Request Method: Get
Path: wordDefinition/findWordDefinition
3.
请求参数
| 参数名 | 参数类型 | 描述 | 必须 |
| ------ | -------- | -------- | ---- |
| workId | Long | 作品id | Y |
| pos | String | 词性名称 | Y |
-
请求参数示例
```
curl --location --request GET 'localhost:48089/wordDefinition/findWordDefinition?workId=1&pos=%E5%90%8D%E8%AF%8D' \
--header 'Authorization: Basic ZXlKaGJHY2lPaUpJVXpJMU5pSjkuZXlKcFlYUWlPakUyTXpBME5qWXlOVEFzSW1WNGNDSTZNVFl6TURVMU1qWTFNQ3dpWVhWMGFHOXlhWFI1SWpveExDSnBaQ0k2TVgwLlhvSm9CbHg2N2FidTBLR1dUZWxxNkRKMVp0d1FkSVBqQXI1ZDJYcHZTYzQ6czAwcGVyczNjcmV0' \
--data-raw ''
localhost:48089/wordDefinition/findWordDefinition?workId=1&pos=名词
```
4.
响应参数
| 参数名 | 参数类型 | 描述 | 必须 |
| --------- | -------- | -------- | ---- |
| words | String | 词性内容 | Y |
| pos | String | 词性名称 | Y |
| projectId | Long | 作品id | Y |
5.
响应参数示例
```
{
"code": 1,
"msg": "成功",
"data": {
"pos": "名词",
"words": "qqq",
"projectId": 1
}
}
```
## 1.2 修改词性内容
1.
请求参数
2.
Request Method: POST
Path: wordDefinition/updateWordContent
3.
请求参数
| 参数名 | 参数类型 | 描述 | 必须 |
| --------- | -------- | -------- | ---- |
| words | String | 词性内容 | Y |
| pos | String | 词性名称 | Y |
| projectId | Long | 作品id | Y |
-
请求参数示例
```
curl --location --request POST 'localhost:48089/wordDefinition/updateWordContent' \
--header 'Authorization: Basic ZXlKaGJHY2lPaUpJVXpJMU5pSjkuZXlKcFlYUWlPakUyTXpBME5qWXlOVEFzSW1WNGNDSTZNVFl6TURVMU1qWTFNQ3dpWVhWMGFHOXlhWFI1SWpveExDSnBaQ0k2TVgwLlhvSm9CbHg2N2FidTBLR1dUZWxxNkRKMVp0d1FkSVBqQXI1ZDJYcHZTYzQ6czAwcGVyczNjcmV0' \
--header 'Content-Type: application/json' \
--data-raw '{
"workId":1,
"pos":"名词",
"words":"ffffffffff"
}'
```
4.
响应参数示例
```
{
"code": 1,
"msg": "成功",
"data": "更新成功"
}
```
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