Commit 022239d9 by jixudong

Replace 项目列表-近义词.md

parent b1383b8b
**测试环境URL**:http://tx-gz14.heyqiwu.cn
**测试环境URL**:http://tx-gz14.heyqiwu.cn
......@@ -4,7 +4,7 @@
[TOC]
### 获取近义词开启状态
### 获取近义词开启关闭状态
**METHOD**: GET
......@@ -14,9 +14,9 @@
#### 请求param字段说明
| key | type | required | description |
| --------- | ---- | -------- | ----------- |
| projectId | | yes | 项目id |
| key | type | required | description |
| --------- | ------ | -------- | ----------- |
| projectId | number | yes | 项目id |
#### 请求body字段说明
......@@ -55,7 +55,7 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/bot/semantic/word/replace/st
}
```
### 更新近义词开启状态
### 修改近义词开启关闭状态
**METHOD**: PUT
......@@ -65,17 +65,17 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/bot/semantic/word/replace/st
#### 请求param字段说明
| key | type | required | description |
| --------- | ---- | -------- | ----------- |
| projectId | | yes | 项目id |
| status | | yes | 开启状态 |
| key | type | required | description |
| --------- | ------ | -------- | ----------- |
| projectId | number | yes | 项目id |
| status | number | yes | 开启状态 |
status值说明
| key | type | description |
| ---- | ---- | ----------- |
| 1 | | 开启 |
| 0 | | 关闭 |
| key | type | description |
| ---- | ------ | ----------- |
| 1 | number | 开启 |
| 0 | number | 关闭 |
#### 请求body字段说明
......@@ -124,9 +124,9 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/bot/semantic/word/replace/st
#### 请求param字段说明
| key | type | required | description |
| --------- | ---- | -------- | ----------- |
| projectId | | yes | 项目id |
| key | type | required | description |
| --------- | ------ | -------- | ----------- |
| projectId | number | yes | 项目id |
#### 请求body字段说明
......@@ -170,7 +170,7 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/bot/semantic/word/replace/al
}
```
### 删除单个近义词
### 删除近义词
**METHOD**: DELETE
......@@ -180,15 +180,15 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/bot/semantic/word/replace/al
#### 请求path字段说明
| key | type | required | description |
| ---- | ---- | -------- | ----------- |
| id | | yes | 主键ID |
| key | type | required | description |
| ---- | ------ | -------- | ----------- |
| id | number | yes | 主键ID |
#### 请求param字段说明
| key | type | required | description |
| --------- | ---- | -------- | ----------- |
| projectId | | yes | 项目id |
| key | type | required | description |
| --------- | ------ | -------- | ----------- |
| projectId | number | yes | 项目id |
#### 请求body字段说明
......@@ -226,7 +226,7 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/bot/semantic/word/replace/25
}
```
### 修改单个近义词
### 编辑近义词
**METHOD**: PUT
......@@ -242,12 +242,12 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/bot/semantic/word/replace/25
#### 请求body字段说明
| key | type | required | description |
| ----------- | ---- | -------- | ----------- |
| id | | yes | 主键ID |
| projectId | | yes | 项目id |
| sourceWords | | yes | 源词组列表 |
| targetWord | | yes | 被替换的词 |
| key | type | required | description |
| ----------- | ------ | -------- | ----------- |
| id | number | yes | 主键ID |
| projectId | number | yes | 项目id |
| sourceWords | string | yes | 源词组列表 |
| targetWord | string | yes | 被替换的词 |
#### 请求示例
......@@ -281,7 +281,7 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/bot/semantic/word/replace' \
}
```
### 新建单个近义词
### 新建近义词
**METHOD**: POST
......@@ -297,11 +297,11 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/bot/semantic/word/replace' \
#### 请求body字段说明
| key | type | required | description |
| ----------- | ---- | -------- | ----------- |
| projectId | | yes | 项目id |
| sourceWords | | yes | 源词组列表 |
| targetWord | | yes | 被替换的词 |
| key | type | required | description |
| ----------- | ------ | -------- | ----------- |
| projectId | number | yes | 项目id |
| sourceWords | string | yes | 源词组列表 |
| targetWord | string | yes | 被替换的词 |
#### 请求示例
......
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