mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2026-10-17 10:10:00 +08:00
🐛 (sign_in): 优化签到卡片奖励信息数据结构
This commit is contained in:
@@ -269,13 +269,10 @@ async def _generate_html_card(
|
|||||||
}
|
}
|
||||||
|
|
||||||
else:
|
else:
|
||||||
_impression_str = (
|
|
||||||
f"{add_impression:.2f}(×2)" if is_double else f"{add_impression:.2f}"
|
|
||||||
)
|
|
||||||
reward_info = {
|
reward_info = {
|
||||||
"impression": f"好感度+{_impression_str}",
|
"impression_added": add_impression,
|
||||||
"gold": f"金币+{gold or 0}",
|
"gold_added": gold or 0,
|
||||||
"gift": gift,
|
"gift_received": gift,
|
||||||
"is_double": is_double,
|
"is_double": is_double,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user