Commit 3ef4164e by 李进峰

update

parent 30d37a28
#### 获取拷贝进度
#### 获取拷贝进度
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
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