From 022239d98a39134cb950e48e1792acc6ed33a69e Mon Sep 17 00:00:00 2001 From: jixudong Date: Fri, 15 Dec 2023 09:57:49 +0800 Subject: [PATCH] Replace 项目列表-近义词.md --- gameditor/前端接口/项目列表-近义词.md | 72 ++++++++++++++++++++++++++++++++++++------------------------------------ 1 file changed, 36 insertions(+), 36 deletions(-) diff --git "a/gameditor/\345\211\215\347\253\257\346\216\245\345\217\243/\351\241\271\347\233\256\345\210\227\350\241\250-\350\277\221\344\271\211\350\257\215.md" "b/gameditor/\345\211\215\347\253\257\346\216\245\345\217\243/\351\241\271\347\233\256\345\210\227\350\241\250-\350\277\221\344\271\211\350\257\215.md" index bee4714..92df703 100644 --- "a/gameditor/\345\211\215\347\253\257\346\216\245\345\217\243/\351\241\271\347\233\256\345\210\227\350\241\250-\350\277\221\344\271\211\350\257\215.md" +++ "b/gameditor/\345\211\215\347\253\257\346\216\245\345\217\243/\351\241\271\347\233\256\345\210\227\350\241\250-\350\277\221\344\271\211\350\257\215.md" @@ -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 | 被替换的词 | #### 请求示例 -- libgit2 0.27.1