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
songyinting
jiaoyou_doc
Commits
3ef4164e
Commit
3ef4164e
authored
Feb 26, 2021
by
李进峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
30d37a28
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
108 additions
and
0 deletions
+108
-0
拷贝模块文档.md
platform/拷贝模块文档.md
+108
-0
No files found.
platform/拷贝模块文档.md
0 → 100644
View file @
3ef4164e
#### 获取拷贝进度
#### 获取拷贝进度
URL: {backUrl}/bot/data/copy/percent?botAccount={BOT帐号例如:6080626246}
METHOD: GET
RequestHeaders:
| key | value |
| :----------- | :------------ |
| Content-Type | application/json;charset=utf-8 |
| Authorization | TOKEN |
| botAccount | bot帐号 |
| groupId | 组ID |
| mul | true |
| projectId | 作品ID |
ResponseBody:
```
json
SUCCESS
:
{
"code"
:
1
,
"msg"
:
"成功"
,
"data"
:
{
"status"
:
1
,
//
拷贝状态
0
:
表示正在拷贝中
,
1
:
表示拷贝完成
,
-1
表示拷贝失败
"msg"
:
"拷贝完成!"
,
// 提示信息
"percent"
:
0
,
//
拷贝进度
"data"
:
null
}
}
```
#### 跨BOT拷贝
URL: {backUrl}/bot/data/copy/cross/bot
METHOD: POST
RequestHeaders:
| key | value |
| :----------- | :------------ |
| Content-Type | application/json;charset=utf-8 |
| Authorization | TOKEN |
| botAccount | bot帐号 |
| groupId | 组ID |
| mul | true |
| projectId | 作品ID |
RequestBody:
```
json
{
"originBotAccount"
:
"6080626246"
,
//
源作品bot帐号
"targetBotAccount"
:
"gz25botceshixinjianzuopin2406461887"
,
//
目标作品帐号
"originPlotCategoryIds"
:[
12903
,
12904
],
//
源作品bot要拷贝的剧情分类ID列表
"originListeningActionGroupIds"
:[
45503
,
45519
]
//
源作品bot要拷贝的监听ID列表
}
```
ResponseBody:
```
SUCCESS:
{
"code": 1,
"msg": "成功",
"data": null
}
```
#### 作品内拷贝
URL: {backUrl}/bot/data/copy/cur/bot
METHOD: POST
RequestHeaders:
| key | value |
| :----------- | :------------ |
| Content-Type | application/json;charset=utf-8 |
| Authorization | TOKEN |
| botAccount | bot帐号 |
| groupId | 组ID |
| mul | true |
| projectId | 作品ID |
RequestBody:
```
json
{
"originBotAccount"
:
"6080626246"
,
//
当前bot帐号
"originPlotIds"
:[
412440
,
412441
],
//
要拷贝的剧情点ID列表
"originListeningActionGroupIds"
:[
45503
,
45519
],
//
需要拷贝的监听ID列表
"targetPlotCategoryId"
:
13230
//
目标剧情分类ID
}
```
ResponseBody:
```
json
SUCCESS
:
{
"code"
:
1
,
"msg"
:
"成功"
,
"data"
:
null
}
```
\ 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