import request from '@/router/axios';
// 一级分类下拉
export const getAllContentCategoryFirst = () => {
  return '/api/jobslink-api/desk/contentCategoryFirst/getAllContentCategoryFirst'
}
export const getAllContentCategoryFirstList =
  () => {
    return request({
      url: '/api/jobslink-api/desk/contentCategoryFirst/getAllContentCategoryFirst',
      method: 'get'
    })
  }
// 二级分类下拉
export const getAllContentCategorySecondList =
  (firstId) => {
    return request({
      url: '/api/jobslink-api/desk/contentCategorySecond/getAllContentCategorySecond',
      method: 'get',
      params: {
        firstId
      }
    })
  }

