refactor(mock): convert mock ids to numeric strings

This commit is contained in:
zetaloop
2026-02-28 07:26:15 +08:00
parent f5df00df4e
commit 527d08fb81
18 changed files with 464 additions and 447 deletions
+6 -6
View File
@@ -2,9 +2,9 @@ import type { Dispute } from "../types"
export const mockDisputes: Dispute[] = [
{
id: "d1",
orderId: "ord14",
initiatorId: "u3",
id: "8001",
orderId: "6014",
initiatorId: "1003",
initiatorName: "zz",
reason: "打了两局DOTA,第二局中途说有事直接退了,等了半小时没回来。约好的两局只打了一局半。",
evidence: ["/evidence/d1-1.jpg", "/evidence/d1-2.jpg"],
@@ -12,9 +12,9 @@ export const mockDisputes: Dispute[] = [
createdAt: "2025-02-15T10:00:00Z",
},
{
id: "d2",
orderId: "ord10",
initiatorId: "u7",
id: "8002",
orderId: "6010",
initiatorId: "1007",
initiatorName: "琪琪",
reason: "对方下单后一直不上线,约了三次时间都放鸽子,已经拖了两天了。",
evidence: ["/evidence/d2-1.jpg"],