✨ 实现点券商店

This commit is contained in:
Mualamx
2025-10-16 01:02:33 +08:00
parent 698f803694
commit 9da91ff3d4
2 changed files with 36 additions and 111 deletions
+4 -4
View File
@@ -201,9 +201,9 @@ async def _(session: Uninfo, res: Match[tuple[str, ...]]):
page = int(raw[1])
if filterKey is None:
image = await g_pShopManager.getSeedShopImage(page)
image = await g_pShopManager.getSeedShopImage(page, 0, 0)
else:
image = await g_pShopManager.getSeedShopImage(filterKey, page)
image = await g_pShopManager.getSeedShopImage(filterKey, page, 0)
await MessageUtils.build_message(image).send()
@@ -755,8 +755,8 @@ async def _(session: Uninfo, res: Match[tuple[str, ...]]):
page = int(raw[1])
if filterKey is None:
image = await g_pShopManager.getVipSeedShopImage(page)
image = await g_pShopManager.getSeedShopImage(page, 0, 1)
else:
image = await g_pShopManager.getVipSeedShopImage(filterKey, page)
image = await g_pShopManager.getSeedShopImage(filterKey, page, 1)
await MessageUtils.build_message(image).send()