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.

172 lines
3.5 KiB

4 years ago
@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
4 years ago
POST {{www_tall}}/users/signin
4 years ago
{{type}}
{
"client": 1,
"type": 3,
"data": {
"identifier": "zy11",
4 years ago
"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 {{test}}/finance/apply
4 years ago
{{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"
}
4 years ago
],
"projectId": 2,
"taskDetailId": 2,
4 years ago
"remark": "",
"department": "视觉传达事业部",
"submitName": "黛西34",
4 years ago
"money": 4190,
"typeId": 1,
"categoryId": 4,
"rowId": 7
}
}
###查询申请详情
4 years ago
POST {{test}}/finance/getApplyDetail
4 years ago
{{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查看任务关联的财务信息
4 years ago
POST {{test}}/finance/getByTask
4 years ago
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"taskDetailId":"3"
}
}
4 years ago
###查看当前用户的费用申请历史信息(奖金)
POST {{test}}/finance/personalHistory
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"projectId":"2",
"taskDetailId":"3",
"taskName":"测试",
"type":0,
"pageNum":1,
"pageSize":10
}
}
4 years ago
### 发票识别
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--
4 years ago
###成员财务图
POST {{localhost}}/finance/memberFinance
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"projectId":"2"
}
}
###任务支出图
POST {{localhost}}/finance/taskExpense
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"projectId":"2"
}
}
###名目支出图
POST {{localhost}}/finance/rowExpense
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"param":{
"projectId":"2"
}
}