Browse Source

20210409v1.0

master
zy_Java 5 years ago
parent
commit
5f6118b70d
  1. 8
      tall/TaskController.http
  2. 4
      tall/input/input.http
  3. 4
      tall/project/project.http
  4. 24
      tall/task/role.http
  5. 18
      文件管理/file/file.http

8
tall/TaskController.http

@ -15,21 +15,21 @@
### login
# @name login
POST {{test}}{{tall}}/users/signin
POST {{loaclhost}}{{tallLocal}}/users/signin
{{type}}
{
"client": 1,
"data": {
"credential": "123456",
"identifier": "LEIPS"
"identifier": "zy11"
},
"scene": 0,
"type": 3
}
//任务相关API
//添加清单
### 添加清单(任务)
POST {{test}}{{tall}}/tasks/
@ -39,7 +39,7 @@ Authorization: Bearer {{login.response.body.$.data.token}}
{
"projectId":"1267343073726304256",
"parentTaskId":"1267343074888126464",
"taskName":"新建任务(输入/输出文档)更改",
"taskName":"lssss",
"description":"",
"executorId":"1267343074305118209",
"beginTime":"1617675959314",

4
tall/input/input.http

@ -40,7 +40,7 @@ Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"docId":"1377815853025857536",
"docId":"1379378081705365504",
"remark":"标准测试备注"
}
}
@ -96,7 +96,7 @@ Authorization: Bearer {{login.response.body.$.data.token}}
{
"param": {
"taskId":1
"taskId":1379355597429936128
}
}

4
tall/project/project.http

@ -16,7 +16,7 @@ POST {{localhost}}/users/signin
"client": 1,
"type": 3,
"data": {
"identifier": "chen",
"identifier": "zy11",
"credential": "123456"
}
}
@ -31,7 +31,7 @@ GET {{localhost}}/debug/htt
]
### 测试-根据项目id获取二级角色列表
GET {{localhost}}/projects/1377463632086044672/roles
GET {{localhost}}/projects/1293457420793810944/roles
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}

24
tall/task/role.http

@ -0,0 +1,24 @@
@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
### 登录
# @name login
POST {{localhost}}/users/signin
# POST http://localhost:7030/v1.0/users/signin
{{type}}
{
"client": 1,
"type": 3,
"data": {
"identifier": "wally",
"credential": "111111"
}
}
###
GET {{test}}/projects/1379618436082176000/roles?imitation=0
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}

18
文件管理/file/file.http

@ -9,7 +9,7 @@
### 登录
# @name login
POST {{testFile}}/users/signin
POST {{testTall}}/users/signin
{{type}}
{
@ -23,7 +23,7 @@ POST {{testFile}}/users/signin
### 根据id查询文件信息
POST {{localhost}}/file/query
POST {{testFile}}/file/query
{{type}}
[
@ -32,21 +32,11 @@ POST {{localhost}}/file/query
### 批量添加文件
POST {{localhost}}/file/upload/multiple
POST {{testFile31}}/file/upload/multiple
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW
------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="files"; filename="111.png"
Content-Type: png
< C:\Users\dou\Desktop\29c3d35916816bab89a7902ee144b5d - 副本.png
< C:\Users\dou\Desktop\29c3d35916816bab89a7902ee144b5d.png
------WebKitFormBoundary7MA4YWxkTrZu0gW--
------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="files"; filename="112.png"
Content-Type: png
< C:\Users\dou\Desktop\29c3d35916816bab89a7902ee144b5d - 副本.png
------WebKitFormBoundary7MA4YWxkTrZu0gW--
------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="files"; filename="114.png"
Content-Type: png
< C:\Users\dou\Desktop\29c3d35916816bab89a7902ee144b5d - 副本.png
------WebKitFormBoundary7MA4YWxkTrZu0gW--
Loading…
Cancel
Save