瀏覽代碼

Update user_manager: remove test code

StrayWarrior 2 周之前
父節點
當前提交
8b5a8e997e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      user_manager.py

+ 1 - 1
user_manager.py

@@ -276,7 +276,7 @@ class MySQLUserRelationManager(UserRelationManager):
                 continue
             user_ids = tuple(user['user_id'] for user in user_data)
             # FIXME(zhoutian): 测试期间临时逻辑
-            if agent_staff['third_party_user_id'] == '1688854492669990':
+            if True:
                 sql = f"SELECT union_id FROM {self.user_table} WHERE id IN {str(user_ids)} AND union_id is not null"
             else:
                 sql = f"SELECT union_id FROM {self.user_table} WHERE id IN {str(user_ids)} AND union_id is not null" \