feat: 新增请求访问统计功能
This commit is contained in:
@@ -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
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user