From 7ec74cf3f0335a76acda9fb7b444869897f23749 Mon Sep 17 00:00:00 2001 From: jixudong Date: Wed, 6 Dec 2023 14:00:34 +0800 Subject: [PATCH] Upload New File --- gameditor/前端接口/管理界面-回归测试.md | 93 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 93 insertions(+) create mode 100644 gameditor/前端接口/管理界面-回归测试.md diff --git "a/gameditor/\345\211\215\347\253\257\346\216\245\345\217\243/\347\256\241\347\220\206\347\225\214\351\235\242-\345\233\236\345\275\222\346\265\213\350\257\225.md" "b/gameditor/\345\211\215\347\253\257\346\216\245\345\217\243/\347\256\241\347\220\206\347\225\214\351\235\242-\345\233\236\345\275\222\346\265\213\350\257\225.md" new file mode 100644 index 0000000..db2dccc --- /dev/null +++ "b/gameditor/\345\211\215\347\253\257\346\216\245\345\217\243/\347\256\241\347\220\206\347\225\214\351\235\242-\345\233\236\345\275\222\346\265\213\350\257\225.md" @@ -0,0 +1,93 @@ +**测试环境URL**:http://tx-gz14.heyqiwu.cn + +**生产环境URL**:http://tx-gz11.heyqiwu.cn + +[TOC] + +### 获取所有回归测试任务 + +**METHOD**: GET + +**path**: api/platform/design/auto/bot/test/task + +**RequestHeaders:** 同创作平台请求header + +#### 请求param字段说明 + +| key | type | required | description | +| -------- | ---- | -------- | --------------------------------------------- | +| pageSize | | yes | 账号名 | +| pageNum | | yes | 昵称名 | +| id | | no | 自动生成任务ID,为空表示获取这个用户所有的任务 | + +#### 请求body字段说明 + +| key | type | required | description | +| ---- | ---- | -------- | ----------- | +| 无 | | | | + +#### 请求示例 + +```js +curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/auto/bot/test/task?pageSize=10&pageNum=1' \ + -H 'Accept: application/json, text/plain, */*' \ + -H 'Accept-Language: zh-CN,zh;q=0.9' \ + -H 'Authorization: Basic ZXlKaGJHY2lPaUpJVXpJMU5pSjkuZXlKcFlYUWlPakUzTURFNE5ERTVOek1zSW1WNGNDSTZNVGN3TVRnME9URTNNeXdpWVhWMGFHOXlhWFI1SWpveExDSnBaQ0k2TWpJMGZRLnZpNjRhVWQ3UHBZaEhtM3VDY3RLVkZMbi1NVGt4NV9GeUdaOTBIbUtsdEk6czAwcGVyczNjcmV0' \ + -H 'Connection: keep-alive' \ + -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 'botAccount: 1524195459' \ + -H 'groupId: 49' \ + -H 'mul: true' \ + -H 'projectId: 963' \ + --compressed \ + --insecure +``` + +#### 响应实例 + +```json +{ + "code": 1, + "msg": "成功", + "data": { + "pageNum": 1, + "pageSize": 10, + "totalPageSize": 1, + "curPageDataSize": 5, + "total": 5, + "isFirstPage": true, + "isLastPage": true, + "hasNextPage": false, + "hasPreviousPage": false, + "list": [ + { + "id": 1267, + "name": "测试带渠道和uid", + "uid": "007", + "channelId": "zhuimenggarden-phone-sdk-pro", + "botTestDataName": "卧龙先生回归数据.csv", + "testServer": "http://hw-gz71.heyqiwu.cn", + "botAccount": "gz38botwolongxiansheng22080906250315", + "ownerId": null, + "gmtCreate": "2022-09-07T03:50:34.000+0000", + "gmtModified": "2022-09-07T03:50:34.000+0000" + }, + { + "id": 1263, + "name": "测试不添加渠道ID", + "uid": "008", + "channelId": "", + "botTestDataName": "卧龙先生回归数据.csv", + "testServer": "http://hw-gz24.heyqiwu.cn", + "botAccount": "gz38botwolongxiansheng0426234967194", + "ownerId": null, + "gmtCreate": "2022-09-07T02:40:20.000+0000", + "gmtModified": "2022-09-07T02:40:20.000+0000" + } + ] + } +} +``` + -- libgit2 0.27.1