export type HttpRechargeItem = { id: string user_id: string ju_money: string | number pay_money: string | number pay_type: string pay_status: string | number channel?: string | null order_no: string ali_wx_no: string create_time: string update_time: string } export const HTTP_RECHARGE_PAY_STATUS_LABELS: Record = { 0: "未支付", 1: "支付成功", } export function formatPayStatus(value: string | number): string { return HTTP_RECHARGE_PAY_STATUS_LABELS[Number(value)] ?? String(value) }