新增退款待审核角标提醒
This commit is contained in:
@@ -509,3 +509,11 @@ export async function fetchPendingRefundOrders() {
|
||||
)
|
||||
return data.data.items
|
||||
}
|
||||
|
||||
export async function fetchPendingRefundCount() {
|
||||
const { data } = await apiClient.get<ApiResponse<{ pending_refund_count: number }>>(
|
||||
'/admin/orders/refund-pending-count',
|
||||
{ silent: true }
|
||||
)
|
||||
return data.data.pending_refund_count
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user