renyupeng 11 месяцев назад
Родитель
Сommit
023b404ce6
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      utils/cookie_update.py

+ 2 - 2
utils/cookie_update.py

@@ -17,8 +17,8 @@ class cookie_update:
     def get_cookie_handler():
     def get_cookie_handler():
         sql = "select cookie ,phone_num from kwai_promoter.kuaishou_supply_chain_cookie where status =0"
         sql = "select cookie ,phone_num from kwai_promoter.kuaishou_supply_chain_cookie where status =0"
         result = MysqlUtils().QueryOne(sql)[0]
         result = MysqlUtils().QueryOne(sql)[0]
-        print(result[0])
-        return result[0]
+        print(result)
+        return result
 
 
     @staticmethod
     @staticmethod
     def update_cookie_handler(phone_num):
     def update_cookie_handler(phone_num):