Commit 8547f78f by 李进峰

update

parent 6617b577
##### 导出作品所有词组
##### 导出作品所有词组
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
##### 更新所有用户词组
##### 更新所有用户词组
......@@ -13,7 +13,7 @@ RequestHeaders:
| botAccount | bot帐号 |
| groupId | 组ID |
| mul | true |
| projectId | 1604 |
| projectId | 作品ID |
ResponseBody:
```
......
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