Przeglądaj źródła

updatePublishedMsgDaily.py 优化报警

luojunhui 4 miesięcy temu
rodzic
commit
b1346ef3ae
1 zmienionych plików z 4 dodań i 4 usunięć
  1. 4 4
      updatePublishedMsgDaily.py

+ 4 - 4
updatePublishedMsgDaily.py

@@ -64,11 +64,11 @@ def get_accounts():
     """
     using_account_set = get_account_using_status()
     account_list_with_out_using_status = aiditApi.get_publish_account_from_aigc()
-    only_auto_reply_accounts_set = aiditApi.get_only_auto_reply_accounts()
+    # only_auto_reply_accounts_set = aiditApi.get_only_auto_reply_accounts()
     account_list = []
     for item in account_list_with_out_using_status:
-        if item['account_id'] in only_auto_reply_accounts_set:
-            continue
+        # if item['account_id'] in only_auto_reply_accounts_set:
+        #     continue
         if item['ghId'] in using_account_set:
             item['using_status'] = 1
         else:
@@ -519,7 +519,7 @@ def update_publish_timestamp(db_client, row):
             root_source_id_list = []
     except Exception as e:
         publish_timestamp_s = const.REQUEST_FAIL_STATUS
-        root_source_id_list = []
+        root_source_id_list = None
         error_msg = traceback.format_exc()
         print(e, error_msg)