Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jiaoyou_doc
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李进峰
jiaoyou_doc
Commits
2ff8c015
Commit
2ff8c015
authored
Jan 07, 2021
by
李进峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
6bfee922
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
78 additions
and
0 deletions
+78
-0
user_text_word_replace.md
platform/user_text_word_replace.md
+78
-0
No files found.
platform/user_text_word_replace.md
0 → 100644
View file @
2ff8c015
##### 获取所有用户替换词
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment