import request from '@/router/axios';
// 企业后台
// 内容管理列表
export const getSidebarContentList =
  (sidebarId, type, source, current, size, params) => {
    return request({
      url: '/api/jobslink-api/desk/sidebarContent/getSidebarContentList',
      method: 'get',
      params: {
        sidebarId,
        type,
        source,
        current,
        size,
        ...params,
      }
    })
  }
  // 内容管理保存
export const sidebarContentSave =
  (params) => {
    return request({
      url: '/api/jobslink-api/desk/sidebarContent/add',
      method: 'post',
      params: params
    })
  }
  // 内容管理移除
export const sidebarContentDel =
  (sidebarId, type, source, contentId) => {
    return request({
      url: '/api/jobslink-api/desk/sidebarContent/delete',
      method: 'delete',
      params: {
        sidebarId,
        type,
        source,
        contentId
      }
    })
  }

  // wx

