140 lines
2.7 KiB
TypeScript
140 lines
2.7 KiB
TypeScript
import type { WalletTransaction } from "../types"
|
|
|
|
export const mockTransactions: WalletTransaction[] = [
|
|
{
|
|
id: "9401",
|
|
type: "topup",
|
|
amount: 500,
|
|
description: "充值",
|
|
createdAt: "2025-01-03T10:00:00Z",
|
|
},
|
|
{
|
|
id: "9402",
|
|
type: "payment",
|
|
amount: -75,
|
|
description: "支付订单 6001",
|
|
createdAt: "2025-01-05T19:30:00Z",
|
|
},
|
|
{
|
|
id: "9403",
|
|
type: "payment",
|
|
amount: -54,
|
|
description: "支付订单 6002",
|
|
createdAt: "2025-01-08T15:00:00Z",
|
|
},
|
|
{
|
|
id: "9404",
|
|
type: "topup",
|
|
amount: 300,
|
|
description: "充值",
|
|
createdAt: "2025-01-15T09:00:00Z",
|
|
},
|
|
{
|
|
id: "9405",
|
|
type: "payment",
|
|
amount: -60,
|
|
description: "支付订单 6005",
|
|
createdAt: "2025-01-17T20:30:00Z",
|
|
},
|
|
{
|
|
id: "9406",
|
|
type: "payment",
|
|
amount: -90,
|
|
description: "支付订单 6003",
|
|
createdAt: "2025-01-11T22:00:00Z",
|
|
},
|
|
{
|
|
id: "9407",
|
|
type: "payment",
|
|
amount: -44,
|
|
description: "支付订单 6004",
|
|
createdAt: "2025-01-14T20:00:00Z",
|
|
},
|
|
{
|
|
id: "9408",
|
|
type: "refund",
|
|
amount: 44,
|
|
description: "订单 6015 退款",
|
|
createdAt: "2025-02-16T18:10:00Z",
|
|
},
|
|
{
|
|
id: "9409",
|
|
type: "topup",
|
|
amount: 200,
|
|
description: "充值",
|
|
createdAt: "2025-02-01T09:00:00Z",
|
|
},
|
|
{
|
|
id: "9410",
|
|
type: "payment",
|
|
amount: -40,
|
|
description: "支付订单 6008",
|
|
createdAt: "2025-02-01T20:00:00Z",
|
|
},
|
|
{
|
|
id: "9411",
|
|
type: "payment",
|
|
amount: -120,
|
|
description: "支付订单 6009",
|
|
createdAt: "2025-02-03T22:30:00Z",
|
|
},
|
|
{
|
|
id: "9412",
|
|
type: "payment",
|
|
amount: -84,
|
|
description: "支付订单 6010",
|
|
createdAt: "2025-02-06T19:00:00Z",
|
|
},
|
|
{
|
|
id: "9413",
|
|
type: "payment",
|
|
amount: -50,
|
|
description: "支付订单 6011",
|
|
createdAt: "2025-02-08T21:00:00Z",
|
|
},
|
|
{
|
|
id: "9414",
|
|
type: "payment",
|
|
amount: -30,
|
|
description: "支付订单 6012",
|
|
createdAt: "2025-02-10T20:00:00Z",
|
|
},
|
|
{
|
|
id: "9415",
|
|
type: "payment",
|
|
amount: -18,
|
|
description: "支付订单 6013",
|
|
createdAt: "2025-02-12T14:00:00Z",
|
|
},
|
|
{
|
|
id: "9416",
|
|
type: "payment",
|
|
amount: -60,
|
|
description: "支付订单 6014",
|
|
createdAt: "2025-02-14T21:00:00Z",
|
|
},
|
|
{
|
|
id: "9417",
|
|
type: "income",
|
|
amount: 63.75,
|
|
description: "订单 6001 收入(扣除15%抽成)",
|
|
createdAt: "2025-01-05T22:30:00Z",
|
|
},
|
|
{
|
|
id: "9418",
|
|
type: "income",
|
|
amount: 47.52,
|
|
description: "订单 6002 收入(扣除12%抽成)",
|
|
createdAt: "2025-01-08T18:00:00Z",
|
|
},
|
|
{
|
|
id: "9419",
|
|
type: "withdrawal",
|
|
amount: -100,
|
|
description: "提现到银行卡",
|
|
createdAt: "2025-01-20T14:00:00Z",
|
|
},
|
|
]
|
|
|
|
export const walletBalance = 275
|