From 051de654eeaf295b082619cc7ead7aa18fe0db6e Mon Sep 17 00:00:00 2001 From: lwl0608 Date: Sun, 4 Feb 2024 23:52:28 +0800 Subject: [PATCH] add --- cronjob/vas/vas_deal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cronjob/vas/vas_deal.py b/cronjob/vas/vas_deal.py index 486ec36..ed2772c 100644 --- a/cronjob/vas/vas_deal.py +++ b/cronjob/vas/vas_deal.py @@ -18,7 +18,7 @@ class S: def get_orders(self): sql = ''' select * from vas_coin_order where ct<{} and order_status=1 and product_id='membership' - '''.format(time.time() - 86400 * 7) + '''.format(int(time.time()) - 86400 * 7) print(sql) docs = self.mysql_db_vas.query(sql) if not docs: