Ver Fonte

ADD:增加新数据库

cxyu há 3 anos atrás
pai
commit
f8a454e7ab
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      handlers/OrderHandler.py

+ 1 - 1
handlers/OrderHandler.py

@@ -233,7 +233,7 @@ class OrderInfo(BaseHandler):
                 print(game_ids)
                 op_game = ''
                 for game_id, game_name, game_timestamp in game_ids:
-                    op_game = op_game + f'''or (e.id = {game_id} and a.create_time >{game_timestamp} ) '''
+                    op_game = op_game + f'''or (e.id = '{game_id}' and a.create_time >{game_timestamp} ) '''
                 op_game = ' and ' + '(' + op_game[2:] + ')' + op_base
             # 限制为自己公众号开始时候的数据