feat: 🎸 企业内推岗位列表
This commit is contained in:
10
src/services/companyJobs.js
Normal file
10
src/services/companyJobs.js
Normal file
@@ -0,0 +1,10 @@
|
||||
import request from "@/utils/request";
|
||||
|
||||
// 获取企业内推岗位
|
||||
export async function getJobsList(params) {
|
||||
return request.get("/api/jobs", { params });
|
||||
}
|
||||
// 获取企业内推岗位面试
|
||||
export async function getInterviewsList(params) {
|
||||
return request.get("/api/interviews", { params });
|
||||
}
|
||||
6
src/services/global.js
Normal file
6
src/services/global.js
Normal file
@@ -0,0 +1,6 @@
|
||||
import request from "@/utils/request";
|
||||
|
||||
// 获取学生信息
|
||||
export async function getCurrentStudent() {
|
||||
return request.get("/api/students/me");
|
||||
}
|
||||
@@ -3,5 +3,14 @@ import {
|
||||
getLearningProgressSummary,
|
||||
} from "./dashboard";
|
||||
import { getProjectsList } from "./projectLibrary";
|
||||
import { getJobsList, getInterviewsList } from "./companyJobs";
|
||||
import { getCurrentStudent } from "./global";
|
||||
|
||||
export { getDashboardStatistics, getLearningProgressSummary, getProjectsList };
|
||||
export {
|
||||
getDashboardStatistics,
|
||||
getLearningProgressSummary,
|
||||
getProjectsList,
|
||||
getJobsList,
|
||||
getInterviewsList,
|
||||
getCurrentStudent,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user