You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

84 lines
1.5 KiB

###
@www = https://www.tall.wiki/gateway
@test = http://test.tall.wiki/gateway/
@loaclhost = http://localhost:
@type = content-type: application/json;charset=utf-8
@tallLocal = 7030/v1.0
@tall = /tall/v1.0
@formLocal = 7130
### login
# @name login
POST {{loaclhost}}{{tallLocal}}/users/signin
{{type}}
{
"client": 1,
"data": {
"credential": "123456",
"identifier": "LEIPS"
},
"scene": 0,
"type": 3
}
//API
###
POST {{loaclhost}}{{tallLocal}}/tasks/
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"projectId":"1376806339233320960",
"parentTaskId":"1376806344874659840",
"taskName":"",
"description":"",
"executorId":"1376806343784140800",
"beginTime":"",
"endTime":"",
"cycle":"",
"taskDeliver":[],
"inputDoc":[],
"pluginList":[],
"priority":"",
"taskRemind":{
"remindTiming":"7",
"unit":"0"
}
}
###
POST {{loaclhost}}{{tallLocal}}/tasks/change
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"id":"1376806353204547584",
"name":"",
"description":"",
"executorRole":"",
"beginTime":"",
"endTime":"",
"cycle":"",
"money":"",
"delay":"",
"delayTime":"",
"priority":"",
"milestone":"1",
"deliverList":[
{"deliverId":"1376806353280045056","deliverName":"访"}
],
"inputList":[],
"plugins":[],
"taskRemindList":[]
}