Authored by chenchao

add invoice detail

... ... @@ -1373,8 +1373,42 @@ code为200即为成功,否则是失败。
"message": "invoice supply success"
}
```
## 1、查看发票接口 ##
#### 说明
补开发票(app.invoice.detail)
#### 请求参数
| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 |
|:-------| -----:|-----:|-----:|-----:|----:|
|uid|int|否|3236556|0|用户id|
|order_code|long|否|1613291832|""|订单号|
### 响应
code为200即为成功,否则是失败。
响应JSON格式如下所示:
```json
{
"alg": "SALT_MD5",
"code": 200,
"data": {
"uid": 1965,//用户ID
"userName" : "sailing", //用户名
"order_code": 1613291832,//订单号
"invoices_type" : 2, //发票类型 1 纸质 2 电子
"buyerTaxNumber" : "weoijd20003", //纳税人识别号
"invoicePayableType" :1 , //发票抬头类型 1:个人,2:企业
"title" : "xxxuuu", //发票抬头
"invoice_content" : "明细", //发票内容
"receiverMobile" : 13812345678, //发票接收人电话
"pdfUrl": "http:fapiao.com/1234.pdf", //发票下载地址
"showInvoice" : ture, //是否显示下载、查看电子发票; true:可以,false:不可以
"issueType": 0,//0 未开票,1 已开票
},
"md5": "62723a6f81151e880b04a8480df4d2f9",
"message": "invoice supply success"
}
```
... ...