import {fetch} from '@ttk/utils'

const proxy = '/mock/gateway/fpfw'
export default {
    create: (option) => fetch.post(`${proxy}/front/fpkj/zzsDzPtFpkj`, option),
    myInitData: (option) => fetch.post(`${proxy}/front/fpkj/toFpkj`, option),
    customTableData: (option) => fetch.post(`${proxy}/front/fpkj/pageByNsrKhxx`, option),
    goodsTableData: (option) => fetch.post(`${proxy}/front/fpkj/pageByNsrSpxx`, option),
    rateListData: (option) => fetch.post(`${proxy}/front/fpkj/listAuditTaxRate`, option),
    ckDetail: (option) => fetch.post(`${proxy}/front/fp-query/reopen-view`, option), // 发票重开详情
    hcDetail: (option) => fetch.post(`${proxy}/front/fp-query/hc-view`, option), // 发票红冲详情
    createHc: (option) => fetch.post(`${proxy}/front/fpkj/fphc`, option),
}