bug修复
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:
francis-fh
2026-06-16 22:58:59 +08:00
parent bcb5c6af19
commit 077f6548cf
7 changed files with 264 additions and 6 deletions

View File

@@ -8,11 +8,12 @@ export async function getJobTitleTreeSelect() {
}
// 获取热门岗位推荐数据
export async function getJobRecommend() {
export async function getJobRecommend(params?: { jobTitle?: string }) {
return request('/api/cms/job/recommend', {
method: 'GET',
params: {
order: 2
order: 2,
...(params?.jobTitle ? { jobTitle: params.jobTitle } : {})
}
});
}