2025-03-28 09:44:48 +08:00
|
|
|
import request from './request'
|
|
|
|
// 获取登录标志
|
|
|
|
export const getLoginflag = (userId:string) => request.get(`/operator-plugin/app/contentcensusrelease/log?requestUrl=网页USER${userId}`)
|
2025-04-02 15:30:55 +08:00
|
|
|
// 获取开票记录列表
|
|
|
|
export const getInvoiceRecordList = (userId:string,params: any) => request.get(`/operator-plugin/api/invoicerecharge/listpage/${userId}`,{params})
|
|
|
|
// 获取开票信息数组
|
|
|
|
export const getInvoiceList = (userId:string,params: any) => request.get(`/operator-plugin/api/invoice-config/listpage/${userId}`,{params})
|
2025-03-28 09:44:48 +08:00
|
|
|
|
2025-04-02 15:30:55 +08:00
|
|
|
// 新增开票信息
|
|
|
|
export const addInvoiceInfo = (userId:string,params:any) => request.post(`/operator-plugin/api/invoice-config/save/${userId}`,params)
|
|
|
|
// 获取开票信息
|
|
|
|
export const getInvoiceInfo = (invoiceId: string) => request.get(`/operator-plugin/api/invoice-config/get/${invoiceId}`)
|
|
|
|
//更新开票信息
|
|
|
|
export const updateInvoiceInfo = (invoiceId: string,params:any) => request.put(`/operator-plugin/api/invoice-config/update/${invoiceId}`,params)
|
|
|
|
// 删除开票信息
|
|
|
|
export const deleteInvoiceInfo = (invoiceId: string) => request.delete(`/operator-plugin/api/invoice-config/remove/${invoiceId}`)
|
|
|
|
// 获取可申请开票的充值记录列表
|
|
|
|
export const getRechargeRecordList = (userId:string,params: any) => request.get(`/operator-plugin/api/invoicerecharge/recharge-listpage/${userId}/not`,{params})
|
|
|
|
//获取开票的充值记录(点击查看开票的充值记录)
|
|
|
|
export const getInvoiceRechargeList = (invoiceRechargeId:string,params:any) => request.get(`/operator-plugin/api/invoicerecharge/listpage-byid/${invoiceRechargeId}`,{params})
|
|
|
|
// 提交开票申请
|
|
|
|
export const submitInvoiceApply = (userId:string,params:any) => request.post(`/operator-plugin/api/invoicerecharge/save/${userId}`,params)
|
|
|
|
// 查看开票信息
|
|
|
|
export const getInvoiceInfoById = (invoiceRechargeId: string) => request.get(`/operator-plugin/api/invoicerecharge/get/${invoiceRechargeId}`)
|
|
|
|
// 取消开票
|
|
|
|
export const cancelInvoice = (invoiceRechargeId: string) => request.put(`/operator-plugin/api/invoicerecharge/cancel/${invoiceRechargeId}`)
|
|
|
|
// 获取开票信息
|
|
|
|
export const getInvoiceInfoByinvoiceRechargeId = (invoiceRechargeId: string) => request.get(`/operator-plugin/api/invoicerecharge/get/${invoiceRechargeId}`)
|
|
|
|
// 修改开票信息
|
|
|
|
export const updateInvoiceInfoByinvoiceRechargeId = (invoiceRechargeId: string,params:any) => request.put(`/operator-plugin/api/invoicerecharge/update/${invoiceRechargeId}`,params)
|