zhangliang пре 2 месеци
родитељ
комит
0103d6ad3c
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      services/async_mysql_service.py

+ 1 - 1
services/async_mysql_service.py

@@ -161,7 +161,7 @@ class AsyncMysqlService:
         return result["cnt"] if result else 0
 
     async def get_xng_mid(self) -> int:
-        sql = """select DISTINCT(uid) from xng_uid ORDER BY `data_time` DESC limit 3;"""
+        sql = """select DISTINCT(uid) from xng_uid ORDER BY `data_time` DESC;"""
         result = await self.fetch_all(sql)
         return result if result else 0