From 2c7af227a672d2170bdb812ea280629e84bd5c9b Mon Sep 17 00:00:00 2001 From: zy_Java <654600784@qq.com> Date: Thu, 1 Apr 2021 09:27:00 +0800 Subject: [PATCH 1/4] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E7=B3=BB=E7=BB=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 文件管理/file/file.http | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/文件管理/file/file.http b/文件管理/file/file.http index e69de29..aa7c22e 100644 --- a/文件管理/file/file.http +++ b/文件管理/file/file.http @@ -0,0 +1,40 @@ +@localhost = http://localhost:8001 +@testTall = https://test.tall.wiki/gateway/tall/v1.0 +@localhostTall = http://localhost:7030/v1.0 +@testFile = https://test.tall.wiki/filedeal +@type = content-type: application/json;charset=utf-8 +@token = Authorization: Bearer {{login.response.body.$.data.token}} + + +### 登录 +# @name login +POST {{localhostTall}}/users/signin +{{type}} + +{ + "client": 1, + "type": 3, + "data": { + "identifier": "zy11", + "credential": "123456" + } +} + +### debug +GET {{localhostTall}}/debug/htt +# GET {{testFile}}/debug/htt +{{type}} + +[ + 1321760076465311744 +] + + +### 根据id查询文件信息 +POST {{testFile}}/file/query +{{type}} + +[ + 1321760076465311744 +] + \ No newline at end of file From 78f77c81c449e89d79137a4e39f135d80d018c85 Mon Sep 17 00:00:00 2001 From: zy_Java <654600784@qq.com> Date: Thu, 1 Apr 2021 09:27:17 +0800 Subject: [PATCH 2/4] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tall/project/project.http | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/tall/project/project.http b/tall/project/project.http index e12ce1e..cf283b0 100644 --- a/tall/project/project.http +++ b/tall/project/project.http @@ -14,7 +14,15 @@ POST {{test}}/users/signin "type": 3, "data": { "identifier": "zy11", - "credential": "123465" + "credential": "123456" } } + +### 测试-调用文件系统获取文件信息 +GET {{localhost}}/debug/htt +{{type}} + +[ + 1321760076465311744 +] From 18f44ba79c795cc8065ea2a6849be7d6698cca4c Mon Sep 17 00:00:00 2001 From: zy_Java <654600784@qq.com> Date: Thu, 1 Apr 2021 10:32:45 +0800 Subject: [PATCH 3/4] =?UTF-8?q?=E5=AF=BC=E5=85=A5wbs=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tall/project/project.http | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/tall/project/project.http b/tall/project/project.http index cf283b0..1d5b60d 100644 --- a/tall/project/project.http +++ b/tall/project/project.http @@ -26,3 +26,17 @@ GET {{localhost}}/debug/htt [ 1321760076465311744 ] + + + +### 导入WBS +POST {{localhost}}/projects/wbs +Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW + +title +------WebKitFormBoundary7MA4YWxkTrZu0gW +Content-Disposition: form-data; name="file"; filename="绿谷研究院项目管理WBS.xlsx" +Content-Type: xlsx + +< C:\Users\dou\Desktop\维基后台WBS-1.0-20210324.xlsx +------WebKitFormBoundary7MA4YWxkTrZu0gW-- \ No newline at end of file From 4398ce281d8ed8390302423bcf92ae9d9a97d1d6 Mon Sep 17 00:00:00 2001 From: wang0018 <1007152140@qq.com> Date: Thu, 1 Apr 2021 10:34:04 +0800 Subject: [PATCH 4/4] =?UTF-8?q?=E6=8B=89=E4=B8=9C=E8=A5=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tall/project/project.http | 1 + 1 file changed, 1 insertion(+) diff --git a/tall/project/project.http b/tall/project/project.http index e12ce1e..64175e6 100644 --- a/tall/project/project.http +++ b/tall/project/project.http @@ -18,3 +18,4 @@ POST {{test}}/users/signin } } +### \ No newline at end of file