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
+45 -45
View File
@@ -2,9 +2,9 @@ import type { PlayerService } from "../types"
export const mockServices: PlayerService[] = [
{
id: "s1",
playerId: "u5",
gameId: "g1",
id: "5001",
playerId: "1005",
gameId: "2001",
gameName: "英雄联盟",
title: "LOL双排上分",
description: "打得不好说话,但是认真打。黄金到铂金段位都接,不保证赢但保证尽力。",
@@ -14,9 +14,9 @@ export const mockServices: PlayerService[] = [
availability: ["工作日晚上9点后", "周末全天"],
},
{
id: "s2",
playerId: "u5",
gameId: "g4",
id: "5002",
playerId: "1005",
gameId: "2004",
gameName: "永劫无间",
title: "永劫双人组队",
description: "永劫玩了两年多,输出位,跟着我打就行,不用担心被带走。",
@@ -25,9 +25,9 @@ export const mockServices: PlayerService[] = [
availability: ["每天晚上8点到凌晨1点"],
},
{
id: "s3",
playerId: "u5",
gameId: "g3",
id: "5003",
playerId: "1005",
gameId: "2003",
gameName: "CS2",
title: "CS2车队位",
description: "信使/支援位,不抢枪不乱走,配合好的话胜率挺高的。",
@@ -37,9 +37,9 @@ export const mockServices: PlayerService[] = [
availability: ["工作日晚上9点后", "周末下午到凌晨"],
},
{
id: "s4",
playerId: "u6",
gameId: "g2",
id: "5004",
playerId: "1006",
gameId: "2002",
gameName: "王者荣耀",
title: "王者双排稳上星",
description:
@@ -50,9 +50,9 @@ export const mockServices: PlayerService[] = [
availability: ["每天下午3点到凌晨"],
},
{
id: "s5",
playerId: "u6",
gameId: "g1",
id: "5005",
playerId: "1006",
gameId: "2001",
gameName: "英雄联盟",
title: "LOL陪玩轻松局",
description: "不想上分只想开心的也可以来,我陪你打,不骂人不催,聊天也行。",
@@ -62,9 +62,9 @@ export const mockServices: PlayerService[] = [
availability: ["每天都有空,提前说一声"],
},
{
id: "s6",
playerId: "u6",
gameId: "g11",
id: "5006",
playerId: "1006",
gameId: "2011",
gameName: "第五人格",
title: "第五人格求生者陪玩",
description: "求生者主,各个角色都会,带你赢监管者。新手也接,慢慢教。",
@@ -73,9 +73,9 @@ export const mockServices: PlayerService[] = [
availability: ["周末全天", "工作日晚上8点后"],
},
{
id: "s7",
playerId: "u7",
gameId: "g2",
id: "5007",
playerId: "1007",
gameId: "2002",
gameName: "王者荣耀",
title: "王者女生陪玩双排",
description: "女生打手,段位星耀,不接受质疑我的操作。认真打的来,想找人聊天的别来。",
@@ -85,9 +85,9 @@ export const mockServices: PlayerService[] = [
availability: ["每天晚上7点到12点"],
},
{
id: "s8",
playerId: "u7",
gameId: "g6",
id: "5008",
playerId: "1007",
gameId: "2006",
gameName: "和平精英",
title: "和平精英吃鸡陪玩",
description: "和平玩了三年,枪法稳,带你吃鸡。不喜欢乱冲的,打法偏稳健。",
@@ -97,9 +97,9 @@ export const mockServices: PlayerService[] = [
availability: ["周末全天", "工作日晚上8点后"],
},
{
id: "s9",
playerId: "u7",
gameId: "g9",
id: "5009",
playerId: "1007",
gameId: "2009",
gameName: "绝区零",
title: "绝区零日常代肝",
description: "每天日常、周常都帮你做,不漏活动,有什么特殊需求说一声。",
@@ -108,9 +108,9 @@ export const mockServices: PlayerService[] = [
availability: ["每天下午到晚上"],
},
{
id: "s10",
playerId: "u8",
gameId: "g8",
id: "5010",
playerId: "1008",
gameId: "2008",
gameName: "无畏契约",
title: "无畏契约上分",
description: "不多说,看战绩。",
@@ -120,9 +120,9 @@ export const mockServices: PlayerService[] = [
availability: ["晚上10点后"],
},
{
id: "s11",
playerId: "u8",
gameId: "g7",
id: "5011",
playerId: "1008",
gameId: "2007",
gameName: "DOTA2",
title: "DOTA2组排",
description: "DOTA老玩家,各位置都行,不废话,进来打就是了。",
@@ -132,9 +132,9 @@ export const mockServices: PlayerService[] = [
availability: ["每天凌晨前都在"],
},
{
id: "s12",
playerId: "u8",
gameId: "g3",
id: "5012",
playerId: "1008",
gameId: "2003",
gameName: "CS2",
title: "CS2上分代打",
description: "只接代打,不陪玩。效率高,不磨蹭。",
@@ -144,9 +144,9 @@ export const mockServices: PlayerService[] = [
availability: ["不定时,接单后尽快开始"],
},
{
id: "s13",
playerId: "u9",
gameId: "g1",
id: "5013",
playerId: "1009",
gameId: "2001",
gameName: "英雄联盟",
title: "LOL稳定双排",
description: "接单稳,不掉线,说几点上就几点上。打辅助和打野,配合你的节奏走。",
@@ -156,9 +156,9 @@ export const mockServices: PlayerService[] = [
availability: ["工作日晚上8点后", "周末下午开始"],
},
{
id: "s14",
playerId: "u9",
gameId: "g10",
id: "5014",
playerId: "1009",
gameId: "2010",
gameName: "崩坏:星穹铁道",
title: "星铁日常代肝",
description: "每日任务、模拟宇宙、忘却之庭都做,体力全清,活动不落。长期单子优先。",
@@ -167,9 +167,9 @@ export const mockServices: PlayerService[] = [
availability: ["每天都有,早上到晚上都行"],
},
{
id: "s15",
playerId: "u9",
gameId: "g12",
id: "5015",
playerId: "1009",
gameId: "2012",
gameName: "三角洲行动",
title: "三角洲行动组队",
description: "三角洲玩得比较多,战术打法,不乱冲。稳定上线,说好时间不会放鸽子。",