mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2026-09-28 16:20:56 +08:00
Update goods_info.py
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user