Prechádzať zdrojové kódy

取消更新数据逻辑

wangkun 3 rokov pred
rodič
commit
38924f173f
1 zmenil súbory, kde vykonal 20 pridanie a 19 odobranie
  1. 20 19
      main/search_by_words.py

+ 20 - 19
main/search_by_words.py

@@ -285,25 +285,26 @@ class Search:
                     # 用户已存在云文档中
                     elif uid in [j for i in Feishu.get_values_batch("twitter", "db114c") for j in i]:
                         Common.logger().info("用户已存在:{}", uid)
-                        time.sleep(1)
-                        values = [str(name),
-                                  str(screen_name),
-                                  str(person_url),
-                                  str(description),
-                                  str(location),
-                                  int(friends_count),
-                                  int(followers_count),
-                                  int(favourites_count),
-                                  int(listed_count),
-                                  int(statuses_count),
-                                  int(media_count),
-                                  str(display_url),
-                                  str(created_at),
-                                  str(profile_image_url),
-                                  str(profile_banner_url),
-                                  str(ext_has_nft_avatar),
-                                  str(verified)]
-                        cls.update_user_info(uid, key_word, values)
+                        pass
+                        # time.sleep(1)
+                        # values = [str(name),
+                        #           str(screen_name),
+                        #           str(person_url),
+                        #           str(description),
+                        #           str(location),
+                        #           int(friends_count),
+                        #           int(followers_count),
+                        #           int(favourites_count),
+                        #           int(listed_count),
+                        #           int(statuses_count),
+                        #           int(media_count),
+                        #           str(display_url),
+                        #           str(created_at),
+                        #           str(profile_image_url),
+                        #           str(profile_banner_url),
+                        #           str(ext_has_nft_avatar),
+                        #           str(verified)]
+                        # cls.update_user_info(uid, key_word, values)
 
                     # 用户未存在云文档中
                     else: