3 changed files with 50 additions and 17 deletions
@ -1,4 +0,0 @@ |
|||
@tall = https://www.tall.wiki/gateway/tall/v1.0 |
|||
@test = https://test.tall.wiki/gateway/tall/v1.0 |
|||
@localhost = http://localhost:7030 |
|||
@type = content-type: application/json;charset=utf-8 |
@ -0,0 +1,35 @@ |
|||
@tall = https://www.tall.wiki/gateway/tall/v1.0 |
|||
@test = https://test.tall.wiki/gateway/tall/v1.0 |
|||
@localhost = http://localhost:7030/v1.0 |
|||
@type = content-type: application/json;charset=utf-8 |
|||
|
|||
|
|||
### login |
|||
# @name login |
|||
POST {{localhost}}/users/signin |
|||
{{type}} |
|||
|
|||
{ |
|||
"client": 1, |
|||
"data": { |
|||
"credential": "123456", |
|||
"identifier": "zy11" |
|||
}, |
|||
"scene": 0, |
|||
"type": 3 |
|||
} |
|||
|
|||
|
|||
|
|||
### 通过角色id查询任务 |
|||
|
|||
POST {{test}}/projects/1267343073726304256/tasks |
|||
{{type}} |
|||
Authorization: Bearer {{login.response.body.$.data.token}} |
|||
|
|||
{ |
|||
"roleId":"1267343074305118209", |
|||
"startTime":1617638400000, |
|||
"endTime":1617724799999, |
|||
"imitation":-1 |
|||
} |
Loading…
Reference in new issue