flat: 3.7

This commit is contained in:
Apcallover
2024-03-07 17:34:17 +08:00
parent b655be8cbe
commit 0acb00a2b6
10 changed files with 928 additions and 40 deletions

40
api/userrecruit.js Normal file
View File

@@ -0,0 +1,40 @@
import {
request
} from '@/untils/AxiosUtils.js';
import {
getStore
} from '@/untils/store.js'
function getHeader() {
const platformId = getStore({
name: 'platformId'
})
if (platformId) {
return {
'Platform-Id': platformId
}
} else {
return {}
}
}
/*首页 最新任务(10条)*/
export const getPushListByUserId = (params) => {
return request({
url: '/api/jobslink-api/user/userrecruit/getPushListByUserId',
headers: getHeader(),
method: 'get',
params
})
}
/*岗位详情*/
// workDetail
export const userrecruitDetail = (workId) => {
return request({
url: '/api/jobslink-api/user/userrecruit/getWorksInfoByWorkId',
method: 'get',
params: {
workId
}
})
}