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
8547f78f
Commit
8547f78f
authored
Feb 19, 2021
by
李进峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
6617b577
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
129 additions
and
2 deletions
+129
-2
作品词组导入导出.md
platform/作品词组导入导出.md
+127
-0
关键词扩展.md
platform/关键词扩展.md
+2
-2
No files found.
platform/作品词组导入导出.md
0 → 100644
View file @
8547f78f
##### 导出作品所有词组
##### 导出作品所有词组
URL: {backUrl}/phrase/all?projectId={作品ID}
METHOD: GET
RequestHeaders:
| key | value |
| :----------- | :------------ |
| Content-Type | application/json;charset=utf-8 |
| Authorization | TOKEN |
| botAccount | bot帐号 |
| groupId | 组ID |
| mul | true |
| projectId | 作品ID |
ResponseBody:
```
SUCCESS:
{
"code": 1,
"msg": "成功",
"data": [
{
"updatePhraseName": null,
"phraseName": "知道的动词",
"pos": null,
"labels": "",
"content": "知道+明白+清楚+晓得+了解+明了+懂+懂得",
"comment": "",
"highPerformance": false,
"projectId": 1,
"ownerId": 37,
"gmtCreate": "2021-02-04T03:19:42.000+0000",
"gmtModified": "2021-02-04T03:19:42.000+0000"
},
{
"updatePhraseName": null,
"phraseName": "同意词组",
"pos": null,
"labels": "好,可以",
"content": "好+可以+行+嗯+恩+嗯嗯+恩恩+嗯呢+去+马上+要+当然+肯定+必须+同意+赞成+赞同+认同+能",
"comment": "",
"highPerformance": false,
"projectId": 1,
"ownerId": 37,
"gmtCreate": "2021-02-04T03:19:42.000+0000",
"gmtModified": "2021-02-04T03:19:42.000+0000"
}
]
}
```
##### 导入作品词组
URL: {backUrl}/phrase/import?projectId={作品ID}
METHOD: POST
RequestHeaders:
| key | value |
| :----------- | :------------ |
| Content-Type | application/json;charset=utf-8 |
| Authorization | TOKEN |
| botAccount | bot帐号 |
| groupId | 组ID |
| mul | true |
| projectId | 作品ID |
RequestBody:
```
json
[
{
"updatePhraseName"
:
null
,
"phraseName"
:
"知道的动词"
,
"pos"
:
null
,
"labels"
:
""
,
"content"
:
"知道+明白+清楚+晓得+了解+明了+懂+懂得"
,
"comment"
:
""
,
"highPerformance"
:
false
,
"projectId"
:
1
,
"ownerId"
:
37
,
"gmtCreate"
:
"2021-02-04T03:19:42.000+0000"
,
"gmtModified"
:
"2021-02-04T03:19:42.000+0000"
},
{
"updatePhraseName"
:
null
,
"phraseName"
:
"同意词组"
,
"pos"
:
null
,
"labels"
:
"好,可以"
,
"content"
:
"好+可以+行+嗯+恩+嗯嗯+恩恩+嗯呢+去+马上+要+当然+肯定+必须+同意+赞成+赞同+认同+能"
,
"comment"
:
""
,
"highPerformance"
:
false
,
"projectId"
:
1
,
"ownerId"
:
37
,
"gmtCreate"
:
"2021-02-04T03:19:42.000+0000"
,
"gmtModified"
:
"2021-02-04T03:19:42.000+0000"
},
{
"updatePhraseName"
:
null
,
"phraseName"
:
"当然肯定副词"
,
"pos"
:
null
,
"labels"
:
"当然,肯定"
,
"content"
:
"当然+肯定+一定+必须+必然+应该+马上+立刻+赶紧"
,
"comment"
:
""
,
"highPerformance"
:
false
,
"projectId"
:
1
,
"ownerId"
:
37
,
"gmtCreate"
:
"2021-02-04T03:19:42.000+0000"
,
"gmtModified"
:
"2021-02-04T03:19:42.000+0000"
}
]
```
ResponseBody:
```
SUCCESS:
{
"code": 1,
"msg": "成功",
"data": null
}
```
\ No newline at end of file
platform/关键词扩展.md
View file @
8547f78f
#####
更新所有用户词组
#####
更新所有用户词组
...
...
@@ -13,7 +13,7 @@ RequestHeaders:
| botAccount | bot帐号 |
| groupId | 组ID |
| mul | true |
| projectId |
1604
|
| projectId |
作品ID
|
ResponseBody:
```
...
...
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