feat: 🎸 新增了两个接口文件
This commit is contained in:
@@ -7,7 +7,8 @@ import {
|
||||
import { getProjectsList } from "./projectLibrary";
|
||||
import { getJobsList, getInterviewsList } from "./companyJobs";
|
||||
import { getLoginStudentInfo } from "./global";
|
||||
import { getLoginStudentProgress } from "./personalProfile";
|
||||
import { getLoginStudentProgress, getClassRank } from "./personalProfile";
|
||||
import { getResumesList, getResumesDetail } from "./resumeInterview";
|
||||
|
||||
export {
|
||||
getDashboardStatistics,
|
||||
@@ -18,4 +19,7 @@ export {
|
||||
getInterviewsList,
|
||||
getLoginStudentInfo,
|
||||
getLoginStudentProgress,
|
||||
getClassRank,
|
||||
getResumesList,
|
||||
getResumesDetail,
|
||||
};
|
||||
|
||||
@@ -7,3 +7,12 @@ export async function getLoginStudentProgress(id) {
|
||||
method: "GET",
|
||||
});
|
||||
}
|
||||
|
||||
// 获取班级排名
|
||||
export async function getClassRank(classId, queryParams = {}) {
|
||||
return request({
|
||||
url: `/api/rankings/class/${classId}`,
|
||||
method: "GET",
|
||||
params: queryParams,
|
||||
});
|
||||
}
|
||||
|
||||
17
src/services/resumeInterview.js
Normal file
17
src/services/resumeInterview.js
Normal file
@@ -0,0 +1,17 @@
|
||||
import request from "@/utils/request";
|
||||
|
||||
// 获取简历列表
|
||||
export async function getResumesList(params) {
|
||||
return request({
|
||||
url: `/api/resumes/`,
|
||||
method: "GET",
|
||||
params,
|
||||
});
|
||||
}
|
||||
// 获取简历详情
|
||||
export async function getResumesDetail(id) {
|
||||
return request({
|
||||
url: `/api/resumes/${id}`,
|
||||
method: "GET",
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user