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
......@@ -15,8 +15,8 @@
#### 请求param字段说明
| key | type | required | description |
| --------- | ---- | -------- | ----------- |
| projectId | | yes | 项目id |
| --------- | ------ | -------- | ----------- |
| 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
......@@ -66,16 +66,16 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/bot/semantic/word/replace/st
#### 请求param字段说明
| key | type | required | description |
| --------- | ---- | -------- | ----------- |
| projectId | | yes | 项目id |
| status | | yes | 开启状态 |
| --------- | ------ | -------- | ----------- |
| projectId | number | yes | 项目id |
| status | number | yes | 开启状态 |
status值说明
| key | type | description |
| ---- | ---- | ----------- |
| 1 | | 开启 |
| 0 | | 关闭 |
| ---- | ------ | ----------- |
| 1 | number | 开启 |
| 0 | number | 关闭 |
#### 请求body字段说明
......@@ -125,8 +125,8 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/bot/semantic/word/replace/st
#### 请求param字段说明
| key | type | required | description |
| --------- | ---- | -------- | ----------- |
| projectId | | yes | 项目id |
| --------- | ------ | -------- | ----------- |
| 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
......@@ -181,14 +181,14 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/bot/semantic/word/replace/al
#### 请求path字段说明
| key | type | required | description |
| ---- | ---- | -------- | ----------- |
| id | | yes | 主键ID |
| ---- | ------ | -------- | ----------- |
| id | number | yes | 主键ID |
#### 请求param字段说明
| key | type | required | description |
| --------- | ---- | -------- | ----------- |
| projectId | | yes | 项目id |
| --------- | ------ | -------- | ----------- |
| 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
......@@ -243,11 +243,11 @@ 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 | 被替换的词 |
| ----------- | ------ | -------- | ----------- |
| 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
......@@ -298,10 +298,10 @@ 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 | 被替换的词 |
| ----------- | ------ | -------- | ----------- |
| 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