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-\351\242\204\346\233\277\346\215\242.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-\351\242\204\346\233\277\346\215\242.md" index e2c3dc5..2b6baf2 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-\351\242\204\346\233\277\346\215\242.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-\351\242\204\346\233\277\346\215\242.md" @@ -14,9 +14,9 @@ #### 请求param字段说明 -| key | type | required | description | -| --------- | ---- | -------- | ----------- | -| projectId | | yes | 项目id | +| key | type | required | description | +| --------- | ------ | -------- | ----------- | +| projectId | number | yes | 项目id | #### 请求body字段说明 @@ -69,7 +69,7 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/userTextWordReplace?projectI } ``` -### 更新预替换数据 +### 提交预替换数据 **METHOD**: PUT @@ -85,17 +85,17 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/userTextWordReplace?projectI #### 请求body字段说明 -| key | type | required | description | -| --------- | ---- | -------- | ----------- | -| projectId | | yes | 项目id | -| content | | yes | 词语内容 | +| key | type | required | description | +| --------- | ------ | -------- | ----------- | +| projectId | number | yes | 项目id | +| content | array | yes | 词语内容 | content值说明 -| key | type | description | -| ---------- | ---- | ---------------- | -| originWord | | 需要预替换的词语 | -| targetWord | | 预替换后的结果 | +| key | type | description | +| ---------- | ------ | ---------------- | +| originWord | string | 需要预替换的词语 | +| targetWord | string | 预替换后的结果 | #### 请求示例 @@ -139,23 +139,23 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/userTextWordReplace' \ #### 请求param字段说明 -| key | type | required | description | -| --------- | ---- | -------- | ----------- | -| projectId | | yes | 项目id | -| type | | yes | 导入模式 | +| key | type | required | description | +| --------- | ------ | -------- | ----------- | +| projectId | number | yes | 项目id | +| type | number | yes | 导入模式 | type值说明 -| key | type | description | -| ---- | ---- | ----------- | -| 1 | | 追加 | -| 2 | | 全替换 | +| key | type | description | +| ---- | ------ | ----------- | +| 1 | number | 追加 | +| 2 | number | 全替换 | #### 请求body字段说明 -| key | type | required | description | -| -------- | ---- | -------- | ----------------------------- | -| fileData | | yes | 二进制数据(excel文件解析文本) | +| key | type | required | description | +| -------- | ----- | -------- | ----------------------------- | +| fileData | excel | yes | 二进制数据(excel文件解析文本) | #### 请求示例 @@ -198,9 +198,9 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/userTextWordReplace/import/c #### 请求param字段说明 -| key | type | required | description | -| --------- | ---- | -------- | ----------- | -| projectId | | yes | 项目id | +| key | type | required | description | +| --------- | ------ | -------- | ----------- | +| projectId | number | yes | 项目id | #### 请求body字段说明