🐛 修复展览详情无法获取

This commit is contained in:
2025-06-11 18:58:13 +08:00
parent f417f829cc
commit acb504a0e5
5 changed files with 1501 additions and 12 deletions

View File

@ -46,7 +46,7 @@ async def get_show_details_cmd(id: Optional[int] = None):
await UniMessage("请输入展览ID").send()
return
show_details = await get_show_details(id)
if show_details["errno"] != 0:
if show_details["code"] != 0:
await UniMessage("发生{}号错误".format(show_details["errno"])).send()
return
try: