|
@@ -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
|
|
|
|