乐食枋

乐食枋


查询用户发票抬头列表

简要描述
  • 查询用户发票抬头列表
请求URL
  • {{domian}}/shop/userInvoiceHeader/page
请求方式
  • GET
http请求header
  • Content-Type:application/json
  • charset:utf-8 `
  • Authorization : Bearer {{access_token}}
请求参数
参数名 说明 必选 类型 示例
headerType 抬头类型 person:个人, enterprise:企业 String enterprise
headerName 抬头 String 南京盘盈信息科技有限公司
taxNo 税号,企业必填 String 91310104084123648T
defaultInvoice 是否默认发票抬头(0:否 1:是) Integer 1
... 参考实体类
size 一页记录数 Integer 20
current 第几页 Integer 2
请求示例
  {

    "headerType": "enterprise",     "headerName": "南京盘盈信息科技有限公司",     "taxNo": "91310104084123648T",     "defaultInvoice": 1 }

返回示例
  成功:
{

    "code": 0,     "msg": null,     "data": {         "records": [             {                 "id": 1,                 "projectId": 2,                 "userId": 4,                 "headerType": "enterprise",                 "headerName": "南京盘盈信息科技有限公司11",                 "invoiceNo": null,                 "bankName": null,                 "bankNo": null,                 "address": null,                 "phone": null,                 "createTime": "2023-08-30 16:21:03",                 "updateTime": "2023-08-30 16:51:27",                 "defaultInvoice": 1             },             {                 "id": 2,                 "projectId": 2,                 "userId": 4,                 "headerType": "enterprise",                 "headerName": "南京盘盈信息科技有限公司",                 "invoiceNo": null,                 "bankName": null,                 "bankNo": null,                 "address": null,                 "phone": null,                 "createTime": "2023-08-30 16:40:11",                 "updateTime": "2023-08-30 16:40:11",                 "defaultInvoice": 0             }         ],         "total": 2,         "size": 10,         "current": 1,         "orders": [],         "optimizeCountSql": true,         "hitCount": false,         "countId": null,         "maxLimit": null,         "searchCount": true,         "pages": 1     } }

返回参数说明
参数名 类型 说明 示例
code int 返回状态码 0:成功 401:鉴权失败
msg String 状态描述
data String 返回数据 参考实体类
备注

页面列表

ITEM_HTML