商店:基础数据及购买

This commit is contained in:
luying
2022-07-25 17:41:04 +08:00
parent 4bf75fcda5
commit 4cf4511ee7
13 changed files with 952 additions and 565 deletions
+1 -1
View File
@@ -133,7 +133,7 @@ export async function getModuleData(type: string, data: { role: RoleType, sessio
role.spines = role.spines.filter(cur => cur.status);
return pick(role, ENTERY_ROLE_PICK);
case 'shop': // 商店
return await getAllShopList(roleId);
return await getAllShopList(roleId, serverId);
case 'rank': // 排名
const rewards = await getRankFirstReward(role, serverId);
return { rewards }