Browse Source

Merge branch 'master' of dd.tall.wiki:ccsens_wiki/vs_test

master
zhizhi wu 5 years ago
parent
commit
2444402cb7
  1. 25
      tall/project/project.http
  2. 40
      文件管理/file/file.http

25
tall/project/project.http

@ -14,7 +14,30 @@ POST {{test}}/users/signin
"type": 3,
"data": {
"identifier": "zy11",
"credential": "123465"
"credential": "123456"
}
}
### 测试-调用文件系统获取文件信息
GET {{localhost}}/debug/htt
{{type}}
[
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--
###

40
文件管理/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
]
Loading…
Cancel
Save