wangkun 2 years ago
parent
commit
10e837c4d0
2 changed files with 5 additions and 5 deletions
  1. 3 3
      main/demo.py
  2. 2 2
      main/hour_list.py

+ 3 - 3
main/demo.py

@@ -107,9 +107,9 @@ class Demo:
     # 微信号
     @classmethod
     def get_sheet(cls):
-        hour_sheet = Feishu.get_values_batch("person", "xiaoniangao", "k6ldje")
+        hour_sheet = Feishu.get_values_batch("hour", "xiaoniangao", "ba0da4")
         # print(hour_sheet)
-        print(hour_sheet[2][7])
+        print(hour_sheet)
 
     @classmethod
     def check_date(cls):
@@ -387,5 +387,5 @@ class Demo:
 
 if __name__ == "__main__":
     demo = Demo()
-    demo.demo1()
+    demo.get_sheet()
     # demo.video_detail_info("99999106", "99999999106", "43995175")

+ 2 - 2
main/hour_list.py

@@ -27,8 +27,8 @@ class HourList:
     hour_uid = wechat_sheet[5][1]
     hour_token = wechat_sheet[6][1]
 
-    # 小时级数据表
-    hour_sheet = Feishu.get_values_batch("hour", "xiaoniangao", "ba0da4")
+    # # 小时级数据表
+    # hour_sheet = Feishu.get_values_batch("hour", "xiaoniangao", "ba0da4")
 
     # 生成 uid、token
     @classmethod