Commit 2ff8c015 by 李进峰

update

parent 6bfee922
##### 获取所有用户替换词
URL: {backUrl2}/userTextWordReplace?projectId={作品ID}
METHOD: GET
RequestHeaders:
| key | value |
| :----------- | :------------ |
| Content-Type | application/json;charset=utf-8 |
| Authorization | TOKEN |
| botAccount | bot帐号 |
| groupId | 组ID |
| mul | true |
| projectId | 1604 |
ResponseBody:
```
SUCCESS:
{
"code": 1,
"msg": "成功",
"data": {
"content": [
{
"originWord": "一个半",
"targetWord": "1.5"
}
],
"projectId": 1
}
}
```
##### 更新所有用户词组
URL: {backUrl2}/userTextWordReplace
METHOD: GET
RequestHeaders:
| key | value |
| :----------- | :------------ |
| Content-Type | application/json;charset=utf-8 |
| Authorization | TOKEN |
| botAccount | bot帐号 |
| groupId | 组ID |
| mul | true |
| projectId | 1604 |
RequestBody:
```
{
"content": [
{
"originWord": "一个半", // 被替换的词
"targetWord": "1.5" // 替换之后的词
},
{
"originWord": "两个半",
"targetWord": "2.5"
}
],
"projectId": 1
}
```
ResponseBody:
```
SUCCESS:
{
"code": 1,
"msg": "成功",
}
```
\ No newline at end of file
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