fix cancel order payment
This commit is contained in:
@@ -62,4 +62,29 @@ async function fundRecordDetail(id: string): Promise<FundRecord> {
|
||||
return await axios.post(`${FUND_URI}/detail`, undefined, { params: { id } });
|
||||
}
|
||||
|
||||
export default { list, detail, createDirectProduct, update, cancel, receivePayment, verifyPayment, rejectPayment, cancelPayment, refund, confirmNoRefund, revokeFund, fundRecordList, fundRecordDetail };
|
||||
async function myReceiveRecordList(page: FundRecordPage): Promise<SalesOrderPageResult<FundRecord>> {
|
||||
return await axios.post(`${FUND_URI}/my-receive/list`, withCurrentStoreId(page));
|
||||
}
|
||||
|
||||
async function myReceiveRecordDetail(id: string): Promise<FundRecord> {
|
||||
return await axios.post(`${FUND_URI}/my-receive/detail`, undefined, { params: { id } });
|
||||
}
|
||||
|
||||
export default {
|
||||
list,
|
||||
detail,
|
||||
createDirectProduct,
|
||||
update,
|
||||
cancel,
|
||||
receivePayment,
|
||||
verifyPayment,
|
||||
rejectPayment,
|
||||
cancelPayment,
|
||||
refund,
|
||||
confirmNoRefund,
|
||||
revokeFund,
|
||||
fundRecordList,
|
||||
fundRecordDetail,
|
||||
myReceiveRecordList,
|
||||
myReceiveRecordDetail
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user