This commit is contained in:
lwl0608 2024-02-04 23:53:11 +08:00
parent 051de654ee
commit ba0d0063ab
1 changed files with 12 additions and 0 deletions

View File

@ -16,6 +16,18 @@ class S:
# 获取订单
def get_orders(self):
sql = '''
select * from vas_order where ct<{} and order_status=1 and product_id='membership'
'''.format(int(time.time()) - 86400 * 7)
print(sql)
docs = self.mysql_db_vas.query(sql)
if not docs:
return
print(type(docs), docs)
return
# 获取订单
def get_coin_orders(self):
sql = '''
select * from vas_coin_order where ct<{} and order_status=1 and product_id='membership'
'''.format(int(time.time()) - 86400 * 7)