From 8a71c3101a02b7acfb4752665885938b74eca093 Mon Sep 17 00:00:00 2001 From: zy_Java <654600784@qq.com> Date: Wed, 19 Jan 2022 11:11:02 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=80=E6=94=BE=E5=B9=B3=E5=8F=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- defaultWbs.http | 150 +++++++++++++++++++++++++++++++++++++++- open.http | 114 ++++++++++++++++++++++++++++++ ptos.http | 66 ++++++++++++++++++ 文件管理/file/file.http | 14 ++-- 4 files changed, 334 insertions(+), 10 deletions(-) create mode 100644 open.http create mode 100644 ptos.http diff --git a/defaultWbs.http b/defaultWbs.http index b1da80e..84a7cbe 100644 --- a/defaultWbs.http +++ b/defaultWbs.http @@ -11,8 +11,8 @@ ### login # @name login # POST {{loaclhost}}7130/v3.0/users/signin -# POST http://192.168.0.99/gateway{{tall3}}/users/signin -POST {{test}}{{tall3}}/users/signin +POST http://192.168.0.99/gateway{{tall3}}/users/signin +# POST {{test}}{{tall3}}/users/signin # POST {{www}}{{tall}}/users/signin {{type}} @@ -22,10 +22,134 @@ POST {{test}}{{tall3}}/users/signin "credential": "123456", "identifier": "zy11" }, - "scene": 0, "type": 3 } + + + +### 查看检查记录 +# 1468515918408851456 projectId +# 1470233153737334784 subTaskId +POST {{loaclhost}}7210/deliver/queryCheckLog +# POST {{test}}defaultwbs/deliver/queryDeliverOfTask +{{type}} +Authorization: Bearer {{login.response.body.$.data.token}} + +{ + "param":{ + "deliverRecordId": "1482592684354052096" + } +} + + +### 查看交付物提交历史 +# 1468515918408851456 projectId +# 1470233153737334784 subTaskId +POST {{loaclhost}}7210/deliver/queryRecord +# POST {{test}}defaultwbs/deliver/queryDeliverOfTask +{{type}} +Authorization: Bearer {{login.response.body.$.data.token}} + +{ + "param":{ + "deliverId": "1482591554576326656" + } +} + +### 检查交付物 +# 1468515918408851456 projectId +# 1470233153737334784 subTaskId +POST {{loaclhost}}7210/deliver/checkDeliver +# POST {{test}}defaultwbs/deliver/queryDeliverOfTask +{{type}} +Authorization: Bearer {{login.response.body.$.data.token}} + +{ + "param":{ + "deliverRecordId": "1482592684354052096", + "projectId": "1468515918408851456", + "type": "2", + "remark": "我后悔了", + "score": "10.2" + } +} + +### 提交交付物信息 +# 1468515918408851456 projectId +# 1470233153737334784 subTaskId +POST {{loaclhost}}7210/deliver/submitDeliver +# POST {{test}}defaultwbs/deliver/queryDeliverOfTask +{{type}} +Authorization: Bearer {{login.response.body.$.data.token}} + +{ + "param":{ + "projectId": "1468515918408851456", + "deliverId": "1482591554576326656", + "fileList": [ + "asdasd" + ], + "checkerList":[ + "1468515918962499584", + "1468515919390318592", + "1468515921277755392" + ] + } +} + +### 查询交付物 +# 1468515918408851456 projectId +# 1470233153737334784 subTaskId +POST {{loaclhost}}7210/deliver/getDeliver +# POST {{test}}defaultwbs/deliver/queryDeliverOfTask +{{type}} +Authorization: Bearer {{login.response.body.$.data.token}} + +{ + "param":{ + "taskId": "1470233153737334784" + } +} + +### 添加交付物 +# 1468515918408851456 projectId +# 1470233153737334784 subTaskId +POST {{loaclhost}}7210/deliver/saveDeliver +# POST {{test}}defaultwbs/deliver/queryDeliverOfTask +{{type}} +Authorization: Bearer {{login.response.body.$.data.token}} + +{ + "param":{ + "projectId": "1468515918408851456", + "taskId": "1470233153737334784", + "deliverName":"测试交付物1" + } +} + +### 查看成员 +# 1468515918408851456 projectId +# 1470233153737334784 subTaskId +POST {{loaclhost}}7210/deliver/queryChecker +# POST {{test}}defaultwbs/deliver/queryDeliverOfTask +{{type}} +Authorization: Bearer {{login.response.body.$.data.token}} + +{ + "param":{ + "projectId": "1468515918408851456" + } +} + + + + + + + + + ### POST {{loaclhost}}7210/file/upload # POST http://test.tall.wiki/gateway/defaultwbs/salary/import?projectId=1433332016270811136 @@ -353,3 +477,23 @@ Authorization: Bearer {{login.response.body.$.data.token}} "enterpriseParkName":"zz", "enterpriseParkCode":"ss", } + +### 工厂 +GET http://121.36.106.168/gateway/df_diplomatist/debug +{{type}} + +### 运维 +# GET http://101.201.226.163/gateway/dh_diplomatist/debug +# GET http://101.201.226.163/gateway/dh_ptos/debug +GET http://101.201.226.163/gateway/carbasics/v4.0/debug +{{type}} + + +### 管理 +# GET http://127.0.0.1:7020/ptos/debug +# GET http://127.0.0.1:7020/ptos/project/query +{{type}} + +### +GET http://127.0.0.1:7020/ptos//debug +{{type}} diff --git a/open.http b/open.http new file mode 100644 index 0000000..77bc346 --- /dev/null +++ b/open.http @@ -0,0 +1,114 @@ +@type = content-type: application/json;charset=utf-8 +@token = eyJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE2NDI0NjkxMjcsInN1YiI6IjE0ODE4MzE1NDk5NDczNTEwNDAiLCJhdXRoSWQiOiIwIiwiZXhwIjoxNjQyNDc2MzI3fQ.FCKtxDM9N3bY7BOR7wCWK_vFmkstliYL5DpCwBx3gT4 + +### login +# @name login +POST http://localhost:7290/users/signin +# POST http://101.201.226.163/gateway/ptostall/users/signin +{{type}} +Authorization: Bearer {{login.response.body.$.data.token}} +deviceId: 66666 + +{ + "client": 0, + "type": 1, + "data": { + "identifier": "15335153627", + "credential": "1111" + + } +} + +### 测试 +POST http://localhost:7300/heart/tall +{{type}} +Authorization: Bearer {{token}} +deviceId: 66666 + + + +### 关联业务和插件 +POST http://localhost:7300/business/save +{{type}} +Authorization: Bearer {{token}} +deviceId: 66666 + +{ + "param":{ + "pluginId": , + "businessId":0 + } +} + +### 添加业务 +POST http://localhost:7300/business/save +{{type}} +deviceId: 66666 + +{ + "param":{ + "name": "添加插件1", + "description":0, + "url":1, + "startUsing":5, + "pub":0, + "debug":1 + } +} + +### 查看业务列表 +POST http://localhost:7300/business/query +{{type}} +deviceId: 66666 + +{ + "param":{ + "name": "", + "depth":0, + "pageNum":1, + "pageSize":5 + } +} + + +### 添加插件 +POST http://localhost:7300/plugin/save +{{type}} +Authorization: Bearer {{token}} +deviceId: 66666 + +{ + "param":{ + "name": "添加插件3", + "versions": "v1.0", + "intro":"333", + "description":"详细介绍", + "preview":"预览图地址", + "carousel":[ + "轮播图1", + "轮播图2", + "轮播图3", + "轮播图4" + ], + "html":"aaa", + "css":"bbb", + "js":"ccc", + "config":"ddd", + "publish":1 + } +} + +### 查看插件列表 +POST http://localhost:7300/plugin/query +{{type}} +Authorization: Bearer {{token}} +deviceId: 66666 + +{ + "param":{ + "name": "", + "depth":1, + "pageNum":2, + "pageSize":5 + } +} diff --git a/ptos.http b/ptos.http new file mode 100644 index 0000000..17dc931 --- /dev/null +++ b/ptos.http @@ -0,0 +1,66 @@ +@type = content-type: application/json;charset=utf-8 + +### login +# @name login +POST http://localhost:7290/users/signin +# POST http://101.201.226.163/gateway/ptostall/users/signin +{{type}} +Authorization: Bearer {{login.response.body.$.data.token}} +deviceId: 66666 + +{ + "client": 0, + "type": 1, + "data": { + "identifier": "15335153627", + "credential": "1111" + + } +} + + +### login +# POST http://101.201.226.163/gateway/ptostall/project/query +POST http://localhost:7290/project/query +{{type}} + +deviceId: 66666 + +{ + "param":{ + "startTime": 0, + "endTime": 1 + } +} + +### 图形验证码 +GET http://localhost:7290/users/code +# http://101.201.226.163/gateway/ptostall/users/code +{{type}} + +### 手机短信验证码 +GET http://localhost:7290/users/smscode?phone=15335153627&verificationCodeId=1482998821449633792&verificationCodeValue=65 +# GET http://101.201.226.163/gateway/ptostall/users/smscode?phone=15335153627&verificationCodeId=1481460299517399040&verificationCodeValue=55 +{{type}} + + + +### 工厂 +GET http://121.36.106.168/gateway/df_diplomatist/debug +{{type}} + +### 运维 +# GET http://101.201.226.163/gateway/dh_diplomatist/debug +# GET http://101.201.226.163/gateway/dh_ptos/debug +GET http://101.201.226.163/gateway/carbasics/v4.0/debug +{{type}} + + +### 管理 +# GET http://127.0.0.1:7020/ptos/debug +# GET http://127.0.0.1:7020/ptos/project/query +{{type}} + +### +GET http://127.0.0.1:7020/ptos//debug +{{type}} diff --git a/文件管理/file/file.http b/文件管理/file/file.http index a151e33..6fc5cd9 100644 --- a/文件管理/file/file.http +++ b/文件管理/file/file.http @@ -36,9 +36,6 @@ Authorization: Bearer {{login.response.body.$.data.token}} - - - ### 根据id查询文件信息 POST {{testFile}}/file/query {{type}} @@ -49,14 +46,17 @@ POST {{testFile}}/file/query ### 批量添加文件 -# POST https://www.tall.wiki/filedeal/file/upload/multiple -POST https://101.201.226.21:7180/file/upload/multiple +# POST https://test.tall.wiki/filedeal/file/upload/multiple +# POST http://101.201.226.163:7180/file/upload/multiple +POST http://192.168.0.99:7180/file/upload/multiple Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW +Authorization: Bearer {{login.response.body.$.data.token}} +title ------WebKitFormBoundary7MA4YWxkTrZu0gW Content-Disposition: form-data; name="files"; filename="111.png" -Content-Type: png -< C:\Users\dou\Desktop\29c3d35916816bab89a7902ee144b5d.png +Content-Type: image/png +< C:\Users\dou\Desktop\TALL-数据中心[数据中心]-202214112256.png ------WebKitFormBoundary7MA4YWxkTrZu0gW--