mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2025-12-15 06:12:53 +08:00
Update goods_info.py
This commit is contained in:
parent
ac57c016a6
commit
b6b569fff9
@ -177,7 +177,7 @@ class GoodsInfo(db.Model):
|
||||
"""
|
||||
user_id = str(user_id)
|
||||
group_id = str(group_id)
|
||||
if goods && goods.daily_limit > 0:
|
||||
if goods and goods.daily_limit > 0:
|
||||
if (
|
||||
not goods.daily_limit
|
||||
or not goods.daily_purchase_limit.get(group_id)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user