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