From 7b3731b48779a3f36109cb2791d0e7c3c5510e21 Mon Sep 17 00:00:00 2001 From: jixudong Date: Fri, 15 Dec 2023 10:58:54 +0800 Subject: [PATCH] Replace 管理界面-回归测试.md --- gameditor/前端接口/管理界面-回归测试.md | 118 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------------------------------------------------- 1 file changed, 59 insertions(+), 59 deletions(-) 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" index 32b97fb..e90d15e 100644 --- "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" @@ -4,7 +4,7 @@ [TOC] -### 分页获取回归测试数据内容 +### 分页获取回归测试任务 **METHOD**: GET @@ -14,10 +14,10 @@ #### 请求param字段说明 -| key | type | required | description | -| -------- | ---- | -------- | ----------- | -| pageSize | | yes | 账号名 | -| pageNum | | yes | 昵称名 | +| key | type | required | description | +| -------- | ------ | -------- | ----------- | +| pageSize | number | yes | 账号名 | +| pageNum | number | yes | 昵称名 | #### 请求body字段说明 @@ -90,7 +90,7 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/auto/bot/test/task?pageSize= } ``` -### 获取所有回归测试任务 +### 获取任务执行结果 **METHOD**: GET @@ -195,9 +195,9 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/auto/bot/test/task/process' #### 请求param字段说明 -| key | type | required | description | -| ---- | ---- | -------- | ----------- | -| id | | yes | 任务ID | +| key | type | required | description | +| ---- | ------ | -------- | ----------- | +| id | number | yes | 任务ID | #### 请求body字段说明 @@ -245,9 +245,9 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/auto/bot/test/task?id=498' \ #### 请求param字段说明 -| key | type | required | description | -| ---- | ---- | -------- | ----------- | -| id | | yes | 任务ID | +| key | type | required | description | +| ---- | ------ | -------- | ----------- | +| id | number | yes | 任务ID | #### 请求body字段说明 @@ -302,14 +302,14 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/auto/bot/test/task?id=1469' #### 请求body字段说明 -| key | type | required | description | -| --------------- | ---- | -------- | ----------- | -| name | | yes | 任务名称 | -| botTestDataName | | yes | 测试数据 | -| testServer | | yes | 测试地址 | -| botAccount | | yes | 作品ID | -| uid | | no | 用户ID | -| channelId | | no | 渠道ID | +| key | type | required | description | +| --------------- | ------ | -------- | ----------- | +| name | number | yes | 任务名称 | +| botTestDataName | number | yes | 测试数据 | +| testServer | number | yes | 测试地址 | +| botAccount | number | yes | 作品ID | +| uid | number | no | 用户ID | +| channelId | number | no | 渠道ID | #### 请求示例 @@ -342,7 +342,7 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/auto/bot/test/task' \ } ``` -### 分页获取回归测试数据内容 +### 浏览测试数据 **METHOD**: GET @@ -352,10 +352,10 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/auto/bot/test/task' \ #### 请求param字段说明 -| key | type | required | description | -| -------- | ---- | -------- | ------------ | -| pageSize | | yes | 每一页数据量 | -| pageNum | | yes | 页码 | +| key | type | required | description | +| -------- | ------ | -------- | ------------ | +| pageSize | number | yes | 每一页数据量 | +| pageNum | number | yes | 页码 | #### 请求body字段说明 @@ -446,7 +446,7 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/auto/bot/test/data?pageSize= } ``` -### 下载测试数据或者模板 +### 浏览测试数据下载 **METHOD**: GET @@ -456,10 +456,10 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/auto/bot/test/data?pageSize= #### 请求param字段说明 -| key | type | required | description | -| ----- | ---- | -------- | ------------ | -| name | | yes | 数据文件名 | -| model | | no | 是下载模板吗 | +| key | type | required | description | +| ----- | ------- | -------- | ------------ | +| name | number | yes | 数据文件名 | +| model | boolean | no | 是否下载模板 | #### 请求body字段说明 @@ -520,7 +520,7 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/auto/bot/test/data/down?name 1,查看详情 ``` -### 删除回归数据通过文件名 +### 浏览测试数据删除 **METHOD**: DELETE @@ -530,9 +530,9 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/auto/bot/test/data/down?name #### 请求param字段说明 -| key | type | required | description | -| ---- | ---- | -------- | ----------- | -| name | | yes | 数据文件名 | +| key | type | required | description | +| ---- | ------ | -------- | ----------- | +| name | string | yes | 数据文件名 | #### 请求body字段说明 @@ -580,12 +580,12 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/auto/bot/test/data?name=0810 #### 请求param字段说明 -| key | type | required | description | -| ---- | ---- | -------- | ----------------------- | -| id1 | | yes | 回归测试任务1的ID | -| num1 | | yes | 回归测试任务1的执行编号 | -| id2 | | yes | 回归测试任务2的ID | -| num2 | | yes | 回归测试任务2的执行编号 | +| key | type | required | description | +| ---- | ------ | -------- | ----------------------- | +| id1 | number | yes | 回归测试任务1的ID | +| num1 | number | yes | 回归测试任务1的执行编号 | +| id2 | number | yes | 回归测试任务2的ID | +| num2 | number | yes | 回归测试任务2的执行编号 | #### 请求body字段说明 @@ -637,10 +637,10 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/auto/bot/test/process?id1=50 #### 请求body字段说明 form data -| key | type | required | description | -| ---- | ---- | -------- | ----------- | -| file | | yes | excel文件 | -| name | | yes | 测试文件名 | +| key | type | required | description | +| ---- | ------ | -------- | ----------- | +| file | excel | yes | excel文件 | +| name | string | yes | 测试文件名 | #### 请求示例 @@ -683,9 +683,9 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/auto/bot/test/data' \ #### 请求param字段说明 -| key | type | required | description | -| ---- | ---- | -------- | -------------- | -| id | | yes | 自动生成任务ID | +| key | type | required | description | +| ---- | ------ | -------- | -------------- | +| id | number | yes | 回归测试任务ID | #### 请求body字段说明 @@ -746,9 +746,9 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/auto/bot/test/task?id=1469' #### 请求param字段说明 -| key | type | required | description | -| ---- | ---- | -------- | ---------------- | -| id | | yes | 任务测试执行的id | +| key | type | required | description | +| ---- | ------ | -------- | -------------- | +| id | number | yes | 回归测试任务ID | #### 请求body字段说明 @@ -795,10 +795,10 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/auto/bot/test/task/speed/pro #### 请求param字段说明 -| key | type | required | description | -| ---- | ---- | -------- | -------------- | -| id | | yes | 回归测试任务ID | -| num | | yes | 任务执行编号 | +| key | type | required | description | +| ---- | ------ | -------- | -------------- | +| id | number | yes | 回归测试任务ID | +| num | number | yes | 任务执行编号 | #### 请求body字段说明 @@ -846,10 +846,10 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/auto/bot/test/process?id=146 #### 请求param字段说明 -| key | type | required | description | -| ---- | ---- | -------- | -------------- | -| id | | yes | 回归测试任务ID | -| num | | yes | 任务执行编号 | +| key | type | required | description | +| ---- | ------ | -------- | -------------- | +| id | number | yes | 回归测试任务ID | +| num | number | yes | 任务执行编号 | #### 请求body字段说明 @@ -885,7 +885,7 @@ curl 'http://tx-gz11.heyqiwu.cn/api/platform/design/auto/bot/test/process?id=195 } ``` -### 获取所有回归测试中控基本地址 +### 获取回归测试的测试地址 **METHOD**: GET -- libgit2 0.27.1