import request from '@/config/axios'

// 招聘会 API
export const JobFairWhiteApi = {
  // 获得招聘会白名单企业
  getJobFairWhiteList: async () => {
    return await request.get({ url: `/menduner/system/job-fair/get-white-enterprise` })
  },

  // 添加企业白名单
  addJobFairWhiteList: async (enterpriseIds: array) => {
    return await request.put({ url: `/menduner/system/job-fair/add-white-list?enterpriseIds=${enterpriseIds}` })
  },

  // 移除企业白名单
  removeJobFairWhiteList: async (enterpriseIds: array) => {
    return await request.put({ url: `/menduner/system/job-fair/remove-white-list?enterpriseIds=${enterpriseIds}` })
  }
}