mirror of
https://github.com/continew-org/continew-admin.git
synced 2025-10-02 10:57:10 +08:00
perf: 对查询仪表盘访问趋势信息接口增加缓存处理
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
COUNT(DISTINCT `client_ip`) AS ipCount
|
||||
FROM `sys_log`
|
||||
GROUP BY DATE(`create_time`)
|
||||
HAVING `date` != CURDATE()
|
||||
ORDER BY DATE(`create_time`) DESC
|
||||
LIMIT #{days}
|
||||
</select>
|
||||
|
Reference in New Issue
Block a user