123456789101112131415161718192021222324252627282930313233343536 |
- import request from '@/axios'
- /*
- * 分页获取发票列表
- *
- *
- */
- export function getInvoiceListByPage(data) {
- return request({
- url: `/api/payment/invoice/${data.currPage}/${data.pageSize}`,
- method: 'post',
- data: data
- })
- }
- /*
- * 通过id获取发票详情
- *
- *
- */
- export function getInvoiceDetailById(id) {
- return request({
- url: `/api/payment/invoice/${id}/`,
- method: 'get',
- })
- }
- /*
- * 更新发票
- *
- *
- */
- export function updateInvoice(data) {
- return request({
- url: `/api/payment/invoice/update`,
- method: 'put',
- data: data
- })
- }
|