import request from '@/router/axios';

export const getApplContentList =
  (params) => {
    return request({
      url: '/api/jobslink-api/content/questionnaireSurveyInfo/list',
      method: 'get',
      params
    })
  }

export const addApplContentList =
  (params) => {
    return request({
      url: '/api/jobslink-api/content/questionnaireSurveyInfo/add',
      method: 'post',
      data: params
    })
  }

export const changePublish =
  (params) => {
    return request({
      url: '/api/jobslink-api/content/questionnaireSurveyInfo/publish',
      method: 'post',
      data: params
    })
  }

export const deleteQuestionnaireSurveyInfo =
  (params) => {
    return request({
      url: '/api/jobslink-api/content/questionnaireSurveyInfo/delete',
      method: 'delete',
      params
    })
  }

export const getQueryQuestionnaireSurveyUserBySurveyId =
  (params) => {
    return request({
      url: '/api/jobslink-api/content/questionnaireSurveyInfo/queryQuestionnaireSurveyUserBySurveyId',
      method: 'get',
      params
    })
  }
export const disposeQuestionnaireSurveyInfo =
  (params) => {
    return request({
      url: '/api/jobslink-api/content/questionnaireSurveyInfo/dispose',
      method: 'post',
      data: params
    })
  }


