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.

139 lines
2.9 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"
}
}
###
POST {{test}}/finance/personalHistory
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"projectId":"2",
"taskDetailId":"3",
"taskName":"",
"type":0,
"pageNum":1,
"pageSize":10
}
}
###
POST {{localhost}}/ocr/bill
Authorization: Bearer {{login.response.body.$.data.token}}
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW
title
------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="part"; filename="C:\Users\23778\Desktop\invoice.jpg"
< C:\Users\23778\Desktop\invoice.jpg
------WebKitFormBoundary7MA4YWxkTrZu0gW--