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.
109 lines
2.2 KiB
109 lines
2.2 KiB
@localhost = http://localhost:7320/v1.0
|
|
@localhost_tall = http://localhost:7130/v3.0
|
|
@test_tall = http://192.168.0.99:7130/v3.0
|
|
@test = https://test.tall.wiki/ptccsens/v1.0
|
|
@www_tall = http://www.tall.wiki:7130/v3.0
|
|
@www = http://www.tall.wiki/ptccsens/v1.0
|
|
@type = content-type: application/json;charset=utf-8
|
|
|
|
### 登录
|
|
# song 1218763410024566784
|
|
# @name login
|
|
POST {{localhost_tall}}/users/signin
|
|
{{type}}
|
|
|
|
{
|
|
"client": 1,
|
|
"type": 3,
|
|
"data": {
|
|
"identifier": "whj",
|
|
"credential": "123456"
|
|
}
|
|
}
|
|
|
|
### debug
|
|
GET {{test}}/debug
|
|
{{type}}
|
|
Authorization: Bearer {{login.response.body.$.data.token}}
|
|
|
|
###查询费用申请类型
|
|
POST {{localhost}}/finance/queryType
|
|
{{type}}
|
|
Authorization: Bearer {{login.response.body.$.data.token}}
|
|
|
|
{
|
|
"param":{
|
|
"parentId":"4",
|
|
"type":2
|
|
}
|
|
}
|
|
|
|
###发起申请
|
|
POST {{localhost}}/finance/apply
|
|
{{type}}
|
|
Authorization: Bearer {{login.response.body.$.data.token}}
|
|
|
|
{
|
|
"param":{
|
|
|
|
"checkerList": [
|
|
123
|
|
],
|
|
"invoiceList": [
|
|
{
|
|
"invoiceCode": "014002100112",
|
|
"invoiceNumber": "86610940",
|
|
"invoiceTime": 1643075118954,
|
|
"money": 4190,
|
|
"remark": "业务招待支出",
|
|
"taxMoney": 126,
|
|
"url": "https://alifei04.cfp.cn/creative/vcg/800/new/VCG211363439424.jpg"
|
|
}
|
|
],
|
|
"projectId": 2,
|
|
"taskDetailId": 3,
|
|
"remark": "",
|
|
"department": "视觉传达事业部",
|
|
"submitName": "黛西",
|
|
"money": 4190,
|
|
"typeId": 1,
|
|
"categoryId": 4,
|
|
"rowId": 7
|
|
|
|
}
|
|
}
|
|
|
|
###查询申请详情
|
|
POST {{localhost}}/finance/getApplyDetail
|
|
{{type}}
|
|
Authorization: Bearer {{login.response.body.$.data.token}}
|
|
|
|
{
|
|
"param":{
|
|
"applyId":"1485797754654695424"
|
|
}
|
|
}
|
|
|
|
###审批
|
|
POST {{localhost}}/finance/audit
|
|
{{type}}
|
|
Authorization: Bearer {{login.response.body.$.data.token}}
|
|
|
|
{
|
|
"param":{
|
|
"checkStatus":"2",
|
|
"financeCheckId":"1485797754923130880",
|
|
"remark":"测试"
|
|
}
|
|
}
|
|
|
|
###通过任务id查看任务关联的财务信息
|
|
POST {{localhost}}/finance/getByTask
|
|
{{type}}
|
|
Authorization: Bearer {{login.response.body.$.data.token}}
|
|
|
|
{
|
|
"param":{
|
|
"taskDetailId":"3"
|
|
}
|
|
}
|
|
|