Newer
Older
KaiFengWechat / src / api / PublicAdvice.js
@鲁yixuan 鲁yixuan on 23 Jul 822 bytes updata
import request from '@/utils/request';

// 公众意见 列表
export function peopleOpinionPage(query) {
  return request({
    url: '/publicService/peopleOpinion/page',
    method: 'get',
    params: query,
  });
}

// 公众意见 新增
export function peopleOpinionAdd(data) {
  return request({
    url: '/publicService/peopleOpinion/add',
    method: 'post',
    data: data,
  });
}

// 问卷调查 列表
export function executingQuestionnaireList(query) {
  return request({
    url: '/publicService/wechatMiniProgram/adjustmentQuestionnaireConfig/executingQuestionnaireList',
    method: 'get',
    params: query,
  });
}

// 问卷调查 提交
export function publicServiceAdd(data) {
  return request({
    url: '/publicService/adjustmentQuestionnaireResult/add',
    method: 'post',
    data: data,
  });
}