feat: 🎸 新增了redux用于全局自动loading

This commit is contained in:
2025-08-20 23:56:04 +08:00
parent 9895101fde
commit a493f2773c
11 changed files with 477 additions and 150 deletions

View File

@@ -2,5 +2,9 @@ import request from "@/utils/request";
// 获取当前登录学生信息
export async function getLoginStudentInfo() {
return request.get("/api/students/me");
return request({
url: `/api/students/me`,
method: "GET",
namespace: "globalLoading",
});
}