261024
This commit is contained in:
@@ -120,6 +120,17 @@ export async function doInvoice(data: ThinkInvoice) {
|
||||
return Promise.reject(new Error(res.data.message));
|
||||
}
|
||||
|
||||
export async function doInvoiceByList(data: ThinkInvoice) {
|
||||
const res = await request.post<ApiResult<unknown>>(
|
||||
THINK_API_URL + '/think/think-invoice/doInvoiceByList',
|
||||
data
|
||||
);
|
||||
if (res.data.code === 0) {
|
||||
return res.data.message;
|
||||
}
|
||||
return Promise.reject(new Error(res.data.message));
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 根据orderNo查询发票
|
||||
|
||||
Reference in New Issue
Block a user