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: