Browse Source

20211230

master
zy_Java 4 years ago
parent
commit
8bece7a119
  1. 279
      defaultWbs.http
  2. 40
      sports.http
  3. 16
      tall3.http

279
defaultWbs.http

@ -10,8 +10,9 @@
### login
# @name login
POST {{loaclhost}}7130/v3.0/users/signin
# POST {{test}}{{tall3}}/users/signin
# POST {{loaclhost}}7130/v3.0/users/signin
# POST http://192.168.0.99/gateway{{tall3}}/users/signin
POST {{test}}{{tall3}}/users/signin
# POST {{www}}{{tall}}/users/signin
{{type}}
@ -25,6 +26,272 @@ POST {{loaclhost}}7130/v3.0/users/signin
"type": 3
}
###
POST {{loaclhost}}7210/file/upload
# POST http://test.tall.wiki/gateway/defaultwbs/salary/import?projectId=1433332016270811136
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW
Authorization: Bearer {{login.response.body.$.data.token}}
title
------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="param"; filename="创新社区.jpg";
Content-Type: image/jpeg
< C:\Users\dou\Desktop\创新社区.jpg
------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="param"; filename="产业社区.jpg";
Content-Type: image/jpeg
< C:\Users\dou\Desktop\产业社区.jpg
------WebKitFormBoundary7MA4YWxkTrZu0gW--
### 查询交付物
# POST {{loaclhost}}7210/deliver/queryDeliverOfTask
POST {{test}}defaultwbs/deliver/queryDeliverOfTask
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"projectId": "1473556016628244480",
"taskSubId": "1473556032134586369"
}
}
### 上传交付物
POST {{loaclhost}}7210/deliver/save
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"checkerList": ["1473556017576157184"],
"content": "666",
"fileId": "666",
"filePath": "666",
"projectId": "1473556016628244480",
"taskSubId": "1473556032134586369"
}
}
### 打卡
POST {{loaclhost}}7210/clock/punch
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"checkerId": "1473556017249001472",
"clockType": 0,
"remark":"2",
"dateTime": 1640488045000,
"id": null,
"memberId": "1473556018859614208"
}
}
### 打卡列表
POST {{loaclhost}}7210/clock/query
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"endTime": 1640315556775,
"memberIdList": [1433332016744767488],
"projectId": "1433332016270811136",
"roleId": "1433332016702824448",
"startTime": 1640315556775
}
}
### 检查人列表
POST {{loaclhost}}7210/deliver/queryChecker
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"projectId": "1433332016270811136"
}
}
### dubug
GET {{loaclhost}}7210/debug/wx
### 修改成员所属的角色
POST {{loaclhost}}7210/member/memberRoles
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"memberId":1470925865046253568,
"roleIdList":[
"1461585805163372544",
"1461585805545054208"
]
}
}
### 删除成员
POST {{loaclhost}}7210/member/delete
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"memberId":1470654351650594816
}
}
### 修改成员信息
POST {{loaclhost}}7210/member/update
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"memberId":1470654351650594816,
"projectId":1461585803347238912,
"name":"修改成员",
"phone":"15335153627",
"avatarUrl":"baidu"
}
}
### 添加成员
POST {{loaclhost}}7210/member/save
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"projectId":1461585803347238912,
"name":"新加的成员",
"phone":"15335153515",
"avatarUrl":"baidu"
}
}
### 根据id查找成员
POST {{loaclhost}}7210/member/getById
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"memberId":1461585805729603585
}
}
### 查询项目下的成员
POST {{loaclhost}}7210/member/query
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"projectId":1461585803347238912,
"memberName":""
}
}
### 修改角色下的成员
POST {{loaclhost}}7210/role/roleMembers
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"roleId":1461585805545054208,
"memberIdList":[
"1461585805729603585",
"1461585805729603584"
]
}
}
### 删除角色
POST {{loaclhost}}7210/role/delete
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"roleId":1470650379921530880
}
}
### 修改角色
POST {{loaclhost}}7210/role/update
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"roleId":1470650379921530880,
"roleName":"修改角色"
}
}
### 添加角色
POST {{loaclhost}}7210/role/save
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"projectId":1461585803347238912,
"roleName":"添加角色"
}
}
### 修改任务
POST {{loaclhost}}7210/task/save
# POST http://test.tall.wiki/gateway/defaultwbs/salary/getMemberSalary
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"projectId":1458744703108521984,
"name":"测试添加-每周五",
"startTime":"1633058185521",
"endTime":"",
"specialTime":"每周五",
"roleIdList":[
"1458744715536244736"
]
}
}
### 添加任务
# POST {{loaclhost}}7210/task/save
POST {{test}}defaultwbs/task/save
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"projectId":1458744703108521984,
"name":"测试添加-每周五",
"startTime":"1633058185521",
"endTime":"",
"parentTaskId":"63953457024511257784",
"specialTime":"每周五",
"roleIdList":[
"1458744715536244736"
]
}
}
### 导入wbs
@ -77,4 +344,12 @@ Authorization: Bearer {{login.response.body.$.data.token}}
}
###
POST http://172.33.250.132:8080/sxcz-web/evc/api/v1/enterprise
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"enterpriseParkName":"zz",
"enterpriseParkCode":"ss",
}

40
sports.http

@ -4,8 +4,8 @@
# @name login
# POST https://www.tall.wiki/gateway/tall3/v3.0/users/signin
# POST http://test.tall.wiki/gateway/tall3/v3.0/users/signin
POST http://localhost:7130/v3.0/users/signin
POST http://101.201.226.163/gateway/tall3/v3.0/users/signin
# POST http://localhost:7130/v3.0/users/signin
{{type}}
{
@ -18,6 +18,37 @@ POST http://localhost:7130/v3.0/users/signin
"type": 3
}
### 导入wbs
# POST {{loaclhost}}7210/wbs
# POST http://test.tall.wiki/gateway/carbasics/v4.0/wbs
POST http://test.tall.wiki/gateway/sports/wbs
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW
Authorization: Bearer {{login.response.body.$.data.token}}
title
------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="param"; filename="V1.0课题WBS.xlsx"
Content-Type: xlsx
< C:\Users\dou\Desktop\wbs\培训WBS.xlsx
------WebKitFormBoundary7MA4YWxkTrZu0gW--
###
# POST http://localhost:7250/player/position
POST http://test.tall.wiki/gateway/sports/player/position
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
# {
# "param":{
# "projectId":1453661473401479168
# }
# }
### 查看报名
POST http://localhost:7250/player/info
# POST http://test.tall.wiki/gateway/sports/training/templateId
@ -228,7 +259,7 @@ Authorization: Bearer {{login.response.body.$.data.token}}
}
}
###
###
# POST https://test.tall.wiki/gateway/sports/file/upload
POST http://localhost:7250/debug/file
# POST https://test.tall.wiki/gateway/carbasics/v4.0/ocr/general/basic
@ -251,7 +282,7 @@ Content-Type: image/jpeg
------WebKitFormBoundary7MA4YWxkTrZu0gW--
###
###
POST http://localhost:7250/debug/f
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW
Authorization: Bearer {{login.response.body.$.data.token}}
@ -270,4 +301,3 @@ Content-Type: image/jpeg
###
POST http://localhost:7250/debug/random
{{type}}

16
tall3.http

@ -27,10 +27,6 @@ POST {{loaclhost}}7130/v3.0/users/signin
"type": 3
}
1467019286404009985
1467019286404009986
1467019286404009987
1637023534000
### 导出考勤表格(新)
POST {{loaclhost}}7210/clock/export1
@ -60,7 +56,7 @@ Authorization: Bearer {{login.response.body.$.data.token}}
{
"startTime":"1640422567000",
"endTime":"1700040541000"
}
@ -376,7 +372,7 @@ Authorization: Bearer {{login.response.body.$.data.token}}
"col":"1"
}
]
}
@ -424,7 +420,7 @@ Authorization: Bearer {{login.response.body.$.data.token}}
###
GET https://www.tall.wiki/gateway/tall3/v3.0/users/userId?userId=1443833898806153216
GET https://test.tall.wiki/gateway/tall3/v3.0/users/userId?userId=1443833898806153216
{{type}}
@ -579,7 +575,7 @@ Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":[
{
"taskDetailId":"1420645307791974400",
"pluginName":"MP-TALL任务名a1",
@ -629,7 +625,7 @@ Authorization: Bearer {{login.response.body.$.data.token}}
"col":"1"
}
]
}
@ -680,7 +676,7 @@ Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
}
}

Loading…
Cancel
Save