zhangliang 1 неделя назад
Родитель
Сommit
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