diff --git "a/gameditor/\345\211\215\347\253\257\346\216\245\345\217\243/\351\241\271\347\233\256\345\210\227\350\241\250-\345\211\247\346\203\205.md" "b/gameditor/\345\211\215\347\253\257\346\216\245\345\217\243/\351\241\271\347\233\256\345\210\227\350\241\250-\345\211\247\346\203\205.md" index bae4b3e..c39d563 100644 --- "a/gameditor/\345\211\215\347\253\257\346\216\245\345\217\243/\351\241\271\347\233\256\345\210\227\350\241\250-\345\211\247\346\203\205.md" +++ "b/gameditor/\345\211\215\347\253\257\346\216\245\345\217\243/\351\241\271\347\233\256\345\210\227\350\241\250-\345\211\247\346\203\205.md" @@ -14,9 +14,9 @@ #### 请求param字段说明 -| key | type | required | description | -| --------- | ---- | -------- | ----------- | -| projectId | | yes | 项目ID | +| key | type | required | description | +| --------- | ------ | -------- | ----------- | +| projectId | number | yes | 项目ID | #### 请求body字段说明 @@ -66,7 +66,7 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/plot/category/?projectId=983 } ``` -### 获取可以拷贝的数据 +### 获取复制剧情的数据 **METHOD**: GET @@ -76,9 +76,9 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/plot/category/?projectId=983 #### 请求param字段说明 -| key | type | required | description | -| --------- | ---- | -------- | ----------- | -| projectId | | yes | 项目ID | +| key | type | required | description | +| --------- | ------ | -------- | ----------- | +| projectId | number | yes | 项目ID | #### 请求body字段说明 @@ -172,7 +172,7 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/package/plot/move?projectId= } ``` -### 跨BOT拷贝 +### 跨作品复制 **METHOD**: POST @@ -188,12 +188,12 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/package/plot/move?projectId= #### 请求body字段说明 -| key | type | required | description | -| ----------------------------- | ---- | -------- | ------------------------------- | -| originBotAccount | | yes | 源作品bot帐号 | -| targetBotAccount | | yes | 目标作品帐号 | -| originPlotCategoryIds | | yes | 源作品bot要拷贝的剧情分类ID列表 | -| originListeningActionGroupIds | | yes | 源作品bot要拷贝的监听ID列表 | +| key | type | required | description | +| ----------------------------- | ------ | -------- | ------------------------------- | +| originBotAccount | string | yes | 源作品bot帐号 | +| targetBotAccount | string | yes | 目标作品帐号 | +| originPlotCategoryIds | array | yes | 源作品bot要拷贝的剧情分类ID列表 | +| originListeningActionGroupIds | array | yes | 源作品bot要拷贝的监听ID列表 | #### 请求示例 @@ -201,17 +201,18 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/package/plot/move?projectId= curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/bot/data/copy/cross/bot' \ -H 'Accept: application/json, text/plain, */*' \ -H 'Accept-Language: zh-CN,zh;q=0.9' \ - -H 'Authorization: Basic ZXlKaGJHY2lPaUpJVXpJMU5pSjkuZXlKcFlYUWlPakUzTURJeU5UZzBNVGtzSW1WNGNDSTZNVGN3TWpJMk5UWXhPU3dpWVhWMGFHOXlhWFI1SWpveExDSnBaQ0k2TWpJMGZRLkJTYXpJNzV0RHJLQU94WGdVYXRPNUdTcWYyLTcySmZ2RHJoM3MybjRFQ0E6czAwcGVyczNjcmV0' \ + -H 'Authorization: Basic ZXlKaGJHY2lPaUpJVXpJMU5pSjkuZXlKcFlYUWlPakUzTURJMU16a3lORFlzSW1WNGNDSTZNVGN3TWpVME5qUTBOaXdpWVhWMGFHOXlhWFI1SWpveExDSnBaQ0k2TWpJMGZRLmpsLWliT3VxWDc4WVpIY2MwTllIaVhmWWdFajdhOFlHR2dyZ0Y2UG0wSEE6czAwcGVyczNjcmV0' \ -H 'Connection: keep-alive' \ -H 'Content-Type: application/json;charset=UTF-8' \ - -H 'Origin: http://localhost:8080' \ - -H 'Referer: http://localhost:8080/' \ - -H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36' \ + -H 'Cookie: username=%E5%8B%BF%E5%BF%98%E7%81%AC%E6%97%A0%E6%9C%9F; nickname=%E5%8B%BF%E5%BF%98%E7%81%AC%E6%97%A0%E6%9C%9F; authority=1; icon=#; platform_token=eyJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE3MDI1MzkyNDYsImV4cCI6MTcwMjU0NjQ0NiwiYXV0aG9yaXR5IjoxLCJpZCI6MjI0fQ.jl-ibOuqX78YZHcc0NYHiXfYgEj7a8YGGgrgF6Pm0HA' \ + -H 'Origin: http://tx-gz14.heyqiwu.cn' \ + -H 'Referer: http://tx-gz14.heyqiwu.cn/Editor/' \ + -H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36' \ -H 'botAccount: txgz14botwww853177949' \ -H 'groupId: 713' \ -H 'mul: true' \ -H 'projectId: 6381' \ - --data-raw '{"originBotAccount":"txgz14botwww853177949","targetBotAccount":"1524195459","originPlotCategoryIds":[73798],"originListeningActionGroupIds":[]}' \ + --data-raw '{"originBotAccount":"txgz14botwww853177949","targetBotAccount":"txgz14botxudongceshi179361154","originPlotCategoryIds":[73800],"originListeningActionGroupIds":[]}' \ --compressed \ --insecure ``` @@ -226,7 +227,7 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/bot/data/copy/cross/bot' \ } ``` -### 作品内拷贝 +### 作品内复制 **METHOD**: POST @@ -242,30 +243,31 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/bot/data/copy/cross/bot' \ #### 请求body字段说明 -| key | type | required | description | -| ----------------------------- | ---- | -------- | -------------------- | -| originBotAccount | | yes | 源作品bot帐号 | -| originPlotIds | | yes | 要拷贝的剧情点ID列表 | -| originListeningActionGroupIds | | yes | 需要拷贝的监听ID列表 | -| targetPlotCategoryId | | yes | 目标剧情分类ID | +| key | type | required | description | +| ----------------------------- | ------ | -------- | -------------------- | +| originBotAccount | string | yes | 源作品bot帐号 | +| originPlotIds | array | yes | 要拷贝的剧情点ID列表 | +| originListeningActionGroupIds | array | yes | 需要拷贝的监听ID列表 | +| targetPlotCategoryId | number | yes | 目标剧情分类ID | #### 请求示例 ```js -curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/bot/data/copy/cross/bot' \ +curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/bot/data/copy/cur/bot' \ -H 'Accept: application/json, text/plain, */*' \ -H 'Accept-Language: zh-CN,zh;q=0.9' \ - -H 'Authorization: Basic ZXlKaGJHY2lPaUpJVXpJMU5pSjkuZXlKcFlYUWlPakUzTURJeU5UZzBNVGtzSW1WNGNDSTZNVGN3TWpJMk5UWXhPU3dpWVhWMGFHOXlhWFI1SWpveExDSnBaQ0k2TWpJMGZRLkJTYXpJNzV0RHJLQU94WGdVYXRPNUdTcWYyLTcySmZ2RHJoM3MybjRFQ0E6czAwcGVyczNjcmV0' \ + -H 'Authorization: Basic ZXlKaGJHY2lPaUpJVXpJMU5pSjkuZXlKcFlYUWlPakUzTURJMU16a3lORFlzSW1WNGNDSTZNVGN3TWpVME5qUTBOaXdpWVhWMGFHOXlhWFI1SWpveExDSnBaQ0k2TWpJMGZRLmpsLWliT3VxWDc4WVpIY2MwTllIaVhmWWdFajdhOFlHR2dyZ0Y2UG0wSEE6czAwcGVyczNjcmV0' \ -H 'Connection: keep-alive' \ -H 'Content-Type: application/json;charset=UTF-8' \ - -H 'Origin: http://localhost:8080' \ - -H 'Referer: http://localhost:8080/' \ - -H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36' \ + -H 'Cookie: username=%E5%8B%BF%E5%BF%98%E7%81%AC%E6%97%A0%E6%9C%9F; nickname=%E5%8B%BF%E5%BF%98%E7%81%AC%E6%97%A0%E6%9C%9F; authority=1; icon=#; platform_token=eyJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE3MDI1MzkyNDYsImV4cCI6MTcwMjU0NjQ0NiwiYXV0aG9yaXR5IjoxLCJpZCI6MjI0fQ.jl-ibOuqX78YZHcc0NYHiXfYgEj7a8YGGgrgF6Pm0HA' \ + -H 'Origin: http://tx-gz14.heyqiwu.cn' \ + -H 'Referer: http://tx-gz14.heyqiwu.cn/Editor/' \ + -H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36' \ -H 'botAccount: txgz14botwww853177949' \ -H 'groupId: 713' \ -H 'mul: true' \ -H 'projectId: 6381' \ - --data-raw '{"originBotAccount":"txgz14botwww853177949","targetBotAccount":"1524195459","originPlotCategoryIds":[73798],"originListeningActionGroupIds":[]}' \ + --data-raw '{"originBotAccount":"txgz14botwww853177949","originPlotIds":[2175258],"originListeningActionGroupIds":[],"targetPlotCategoryId":73801}' \ --compressed \ --insecure ``` @@ -280,7 +282,7 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/bot/data/copy/cross/bot' \ } ``` -### 获取拷贝进度 +### 获取复制进度 **METHOD**: GET @@ -290,9 +292,9 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/bot/data/copy/cross/bot' \ #### 请求param字段说明 -| key | type | required | description | -| ---------- | ---- | -------- | -------------- | -| botAccount | | yes | 在引擎中的帐号 | +| key | type | required | description | +| ---------- | ------ | -------- | -------------- | +| botAccount | string | yes | 在引擎中的帐号 | #### 请求body字段说明