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.

86 lines
1.6 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": "zy11"
},
"scene": 0,
"type": 3
}
//
###
POST {{test}}{{tall}}/tasks/
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"projectId":"1267343073726304256",
"parentTaskId":"1267343074888126464",
"taskName":"lssss",
"description":"",
"executorId":"1267343074305118209",
"beginTime":"1617675959314",
"endTime":"1618021559314",
"cycle":"",
"taskDeliver":[""],
"inputDoc":[""],
"pluginList":[],
"priority":1,
"milestone":"",
"taskRemind":{
"remindTiming":"0",
"duration":"0",
"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":[]
}