소스 검색

增加小年糕账号

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