去掉 username
Some checks failed
Deploy / deploy (push) Has been cancelled

This commit is contained in:
2025-09-24 22:14:14 +08:00
parent f428291698
commit 0b28dbeef8
5 changed files with 12 additions and 34 deletions

View File

@@ -245,14 +245,13 @@ export function getTutorials() {
return http.get("tutorials")
}
export function getAIDetailData(start: string, end: string, username?: string) {
return http.get("ai/detail", { params: { start, end, username } })
export function getAIDetailData(start: string, end: string) {
return http.get("ai/detail", { params: { start, end } })
}
export function getAIWeeklyData(
end: string,
duration: string,
username?: string,
) {
return http.get("ai/weekly", { params: { end, duration, username } })
return http.get("ai/weekly", { params: { end, duration } })
}