4 changed files with 91 additions and 9 deletions
@ -1 +1,3 @@ |
|||||
存放测试文档 |
存放测试文档 |
||||
|
每一个项目创建一个文件夹 |
||||
|
每一个模块创建一个http文件 |
||||
@ -0,0 +1,40 @@ |
|||||
|
@localhost = http://localhost:8001 |
||||
|
@testTall = https://test.tall.wiki/gateway/tall/v1.0 |
||||
|
@localhostTall = http://localhost:7030/v1.0 |
||||
|
@testFile = https://test.tall.wiki/filedeal |
||||
|
@type = content-type: application/json;charset=utf-8 |
||||
|
@token = Authorization: Bearer {{login.response.body.$.data.token}} |
||||
|
|
||||
|
|
||||
|
### 登录 |
||||
|
# @name login |
||||
|
POST {{localhostTall}}/users/signin |
||||
|
{{type}} |
||||
|
|
||||
|
{ |
||||
|
"client": 1, |
||||
|
"type": 3, |
||||
|
"data": { |
||||
|
"identifier": "zy11", |
||||
|
"credential": "123456" |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
### debug |
||||
|
GET {{localhostTall}}/debug/htt |
||||
|
# GET {{testFile}}/debug/htt |
||||
|
{{type}} |
||||
|
|
||||
|
[ |
||||
|
1321760076465311744 |
||||
|
] |
||||
|
|
||||
|
|
||||
|
### 根据id查询文件信息 |
||||
|
POST {{testFile}}/file/query |
||||
|
{{type}} |
||||
|
|
||||
|
[ |
||||
|
1321760076465311744 |
||||
|
] |
||||
|
|
||||
Loading…
Reference in new issue