feat: 新增请求访问统计功能

This commit is contained in:
橙子
2024-08-14 22:23:54 +08:00
parent b619204c5e
commit 9af98089f2
6 changed files with 135 additions and 92 deletions

View File

@@ -9,16 +9,18 @@ export function access() {
}
// 获取本周数据
export function getWeek() {
export function getWeek(data) {
return request({
url: "/access-log/week",
method: "get",
params :data
});
}
// 获取全部数据
export function getAccessList() {
export function getAccessList(data) {
return request({
url: "/access-log",
method: "get",
params :data
});
}