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
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":[]
|
|
}
|