feat(report): add 24h slow-sql dashboard and metrics api

This commit is contained in:
2026-02-07 14:07:07 +08:00
parent 52dd7ac9e5
commit 6a9858cdec
29 changed files with 427 additions and 57 deletions

View File

@@ -0,0 +1 @@
import{a as n}from"./index-C51y9xCM.js";async function i(){const{data:a}=await n.get("/email/settings");return a}async function e(a){const{data:t}=await n.post("/email/settings",a);return t}async function c(){const{data:a}=await n.get("/email/stats");return a}async function o(a){const{data:t}=await n.get("/email/logs",{params:a});return t}async function l(a){const{data:t}=await n.post("/email/logs/cleanup",{days:a});return t}export{o as a,i as b,l as c,c as f,e as u};