智能推荐
This commit is contained in:
@@ -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 招聘会
|
||||
|
||||
Reference in New Issue
Block a user