import request from '@/router/axios';

export const getList =
    (current, size, params, userType) => {
      return request({
        url: '/api/jobslink-api/desk/notice/tenant/list',
        method: 'get',
        params: {
          ...params,
          current,
          size,
          userType
        }
      })
    }

export const read =
    (ids) => {
      return request({
        url: '/api/jobslink-api/desk/notice/status/read',
        method: 'post',
        params: {ids}
      })
    }


export const remove = (ids) => {
  return request({
    url: '/api/jobslink-api/desk/notice/status/remove',
    method: 'post',
    params: {ids}
  })
}
