first commit
Some checks failed
Node CI / build (14.x, macOS-latest) (push) Has been cancelled
Node CI / build (14.x, ubuntu-latest) (push) Has been cancelled
Node CI / build (14.x, windows-latest) (push) Has been cancelled
Node CI / build (16.x, macOS-latest) (push) Has been cancelled
Node CI / build (16.x, ubuntu-latest) (push) Has been cancelled
Node CI / build (16.x, windows-latest) (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
coverage CI / build (push) Has been cancelled
Node pnpm CI / build (16.x, macOS-latest) (push) Has been cancelled
Node pnpm CI / build (16.x, ubuntu-latest) (push) Has been cancelled
Node pnpm CI / build (16.x, windows-latest) (push) Has been cancelled

This commit is contained in:
chenshaohua
2025-11-10 16:28:01 +08:00
commit 30c8a7e8cf
465 changed files with 102912 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
import { request } from '@umijs/max';
// 获取职位树形选择数据
export async function getJobTitleTreeSelect() {
return request('/api/app/common/jobTitle/treeselect', {
method: 'GET',
});
}
// 获取热门岗位推荐数据
export async function getJobRecommend() {
return request('/api/cms/job/recommend', {
method: 'GET',
params: {
order: 2
}
});
}
// 获取职位列表数据
export async function getJobList(jobCategory: string) {
return request('/api/cms/job/recommend', {
method: 'GET',
params: {
order: 0,
isPublish: 1,
jobCategory: jobCategory
}
});
}
// 添加用户工作经历
export async function addUserWorkExperience(params: { companyName: string; position?: string; startDate?: string; endDate?: string; description?: string }) {
return request('/api/cms/userworkexperiences', {
method: 'POST',
data: params,
});
}