Commit 8c44fa09 by jixudong

Replace 项目列表-预替换.md

parent 1de9874f
**测试环境URL**:http://tx-gz14.heyqiwu.cn
**测试环境URL**:http://tx-gz14.heyqiwu.cn
......@@ -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字段说明
......
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