新增退款待审核角标提醒

This commit is contained in:
yml2213
2026-08-28 23:10:07 +08:00
parent 41a5b49450
commit a9a9127076
8 changed files with 176 additions and 1 deletions
@@ -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
}