You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
80 lines
1.9 KiB
80 lines
1.9 KiB
###
|
|
@www = https://www.tall.wiki/gateway/
|
|
@test = http://test.tall.wiki/gateway/
|
|
@loaclhost = http://localhost:
|
|
@type = content-type: application/json;charset=utf-8
|
|
@tallLocal = 7030/v1.0
|
|
@tall3 = /tall3/v3.0
|
|
@tall = /tall/v1.0
|
|
|
|
|
|
### login
|
|
# @name login
|
|
POST {{loaclhost}}7130/v3.0/users/signin
|
|
# POST {{test}}{{tall3}}/users/signin
|
|
# POST {{www}}{{tall}}/users/signin
|
|
{{type}}
|
|
|
|
{
|
|
"client": 1,
|
|
"data": {
|
|
"credential": "123456",
|
|
"identifier": "zy11"
|
|
},
|
|
"scene": 0,
|
|
"type": 3
|
|
}
|
|
|
|
|
|
|
|
### 导入wbs
|
|
# POST {{loaclhost}}7210/salary/import?projectId=1433332016270811136
|
|
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="员工工资信息表.xlsx"
|
|
Content-Type: xlsx
|
|
|
|
< C:\Users\dou\Desktop\员工工资信息表.xlsx
|
|
|
|
------WebKitFormBoundary7MA4YWxkTrZu0gW--
|
|
|
|
|
|
|
|
### 查看员工工资条
|
|
# POST {{loaclhost}}7210/salary/getMemberSalary
|
|
POST http://test.tall.wiki/gateway/defaultwbs/salary/getMemberSalary
|
|
{{type}}
|
|
Authorization: Bearer {{login.response.body.$.data.token}}
|
|
|
|
{
|
|
"param":{
|
|
"projectId":1433332016270811136,
|
|
"endTime":"1635609600000",
|
|
"startTime":"1633058185521",
|
|
"memberId":""
|
|
}
|
|
}
|
|
|
|
|
|
|
|
### 查看所有员工工资条
|
|
# POST {{loaclhost}}7210/salary/queryMemberSalary
|
|
POST http://test.tall.wiki/gateway/defaultwbs/salary/queryMemberSalary
|
|
{{type}}
|
|
Authorization: Bearer {{login.response.body.$.data.token}}
|
|
|
|
{
|
|
"param":{
|
|
"projectId":1433332016270811136,
|
|
"endTime":"1635609600000",
|
|
"startTime":"1633058185521",
|
|
"memberId":""
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|