liqian 2 năm trước cách đây
mục cha
commit
b4ab8c4b82
1 tập tin đã thay đổi với 8 bổ sung8 xóa
  1. 8 8
      religion_class_user_update.py

+ 8 - 8
religion_class_user_update.py

@@ -93,14 +93,14 @@ def timer_check(religion_name):
         log_.info(f'religion_name = {religion_name}, religion_users_count = {data_count}')
         # 数据准备好,进行更新
         get_religion_users(now_date=now_date, project=project, table=table, key_name_prefix=key_name_prefix)
-        send_msg_to_feishu(
-            webhook=config_.FEISHU_ROBOT['server_robot'].get('webhook'),
-            key_word=config_.FEISHU_ROBOT['server_robot'].get('key_word'),
-            msg_text=f"rov-offline{config_.ENV_TEXT} - 宗教用户数据更新完成\n"
-                     f"religion_name: {religion_name}\n"
-                     f"now_date: {datetime.datetime.strftime(now_date, '%Y%m%d')}\n"
-                     f"now_h: {now_h}\n"
-        )
+        # send_msg_to_feishu(
+        #     webhook=config_.FEISHU_ROBOT['server_robot'].get('webhook'),
+        #     key_word=config_.FEISHU_ROBOT['server_robot'].get('key_word'),
+        #     msg_text=f"rov-offline{config_.ENV_TEXT} - 宗教用户数据更新完成\n"
+        #              f"religion_name: {religion_name}\n"
+        #              f"now_date: {datetime.datetime.strftime(now_date, '%Y%m%d')}\n"
+        #              f"now_h: {now_h}\n"
+        # )
     else:
         # 数据没准备好,1分钟后重新检查
         Timer(5 * 60, timer_check, args=[religion_name]).start()