Files
kra-new/docs/sw6-to-kra/http-business-bindings-2026-11-03.json
T

134 lines
2.7 KiB
JSON

{
"base_url": "http://127.0.0.1:18000",
"checks": [
{
"method": "GET",
"path": "/sw/business/list?pageNum=1&pageSize=500",
"http": 200,
"code": 0,
"msg": "成功",
"elapsed_ms": 184,
"passed": true,
"total": 45,
"rows": 45
},
{
"method": "GET",
"path": "/sw/business/list?pageNum=2&pageSize=10",
"http": 200,
"code": 0,
"msg": "成功",
"elapsed_ms": 43,
"passed": true,
"total": 45,
"rows": 10
},
{
"method": "GET",
"path": "/sw/business/10001",
"http": 200,
"code": 0,
"msg": "成功",
"elapsed_ms": 19,
"passed": true
},
{
"method": "GET",
"path": "/sw/business/list?userName=admin",
"http": 200,
"code": 0,
"msg": "成功",
"elapsed_ms": 22,
"passed": true,
"total": 1,
"rows": 1
},
{
"method": "GET",
"path": "/sw/business/10007/bindPlatform",
"http": 200,
"code": 0,
"msg": "成功",
"elapsed_ms": 25,
"passed": true
},
{
"method": "GET",
"path": "/sw/user/preference",
"http": 200,
"code": 0,
"msg": "成功",
"elapsed_ms": 94,
"passed": true
},
{
"method": "GET",
"path": "/sw/business/bindPlatform?pageNum=1&pageSize=10",
"http": 200,
"code": 0,
"msg": "成功",
"elapsed_ms": 22,
"passed": true,
"total": 58,
"rows": 10
},
{
"method": "GET",
"path": "/sw/business/bindPlatform?sourceDb=lx,hw&status=0&pageSize=2",
"http": 200,
"code": 0,
"msg": "成功",
"elapsed_ms": 23,
"passed": true,
"total": 37,
"rows": 2
},
{
"method": "PUT",
"path": "/sw/user/preference",
"http": 200,
"code": 7,
"msg": "偏好参数不能为空",
"elapsed_ms": 424,
"passed": true
},
{
"method": "POST",
"path": "/sw/business",
"http": 200,
"code": 7,
"msg": "商务账号参数不正确",
"elapsed_ms": 471,
"passed": true
},
{
"method": "PUT",
"path": "/sw/business",
"http": 200,
"code": 7,
"msg": "商务账号参数不正确",
"elapsed_ms": 335,
"passed": true
},
{
"method": "POST",
"path": "/sw/business/bindPlatform",
"http": 200,
"code": 7,
"msg": "商务账号参数不正确",
"elapsed_ms": 521,
"passed": true
},
{
"method": "DELETE",
"path": "/sw/business/bindPlatform",
"http": 200,
"code": 7,
"msg": "商务账号参数不正确",
"elapsed_ms": 272,
"passed": true
}
],
"passed": true
}