智能推荐

This commit is contained in:
2026-03-10 17:13:38 +08:00
parent cd621f659c
commit b605b43acb
4 changed files with 466 additions and 183 deletions

View File

@@ -176,11 +176,16 @@ export function uploadFile(tempFilePaths, loading = false) {
})
}
export function myRequest(url, data = {}, method = 'GET', port = 9100, headers = {}, loading = false) {
export function myRequest(url, data = {}, method = 'GET', port = 9100, headers = {}, loading = false,urlType='') {
let LCBaseUrl = config.LCBaseUrl
if (port != 9100) {
LCBaseUrl = config.LCBaseUrlInner
}
if(urlType=='jobRecommend'){
LCBaseUrl=config.jobRecommendUrl
}else if(urlType=='policyRecommend'){
LCBaseUrl=config.policyRecommendUrl
}
const header = headers || {};
// 上下文
// /jobfair-api/jobfair/public 招聘会