/*
 * @Page: 文件描述
 * @Author: Fengyu
 * @Date: 2025-12-12 14:00:09
 * @LastEditors: Fengyu
 * @LastEditTime: 2025-12-15 17:34:10
 */
import { http } from '@/utils/http'

/**
 * @description: 问卷调查详情
 * @param {*} data
 * @return {*}
 */
export const getQuestionnaireDetailApi = (id: string) => {
  return http({
    method: 'GET',
    url: '/questionnaire/' + id
  })
}

/**
 * @description: 问卷调查提交
 * @param {*} data
 * @return {*}
 */
export const submitQuestionnaireApi = (data: any) => {
  return http({
    method: 'POST',
    url: '/questionnaire/answer',
    data
  })
}

/**
 * @description: 获取服务区
 * @param {*} data
 * @return {*}
 */
export const getParkList = (data: any) => {
  return http({
    method: 'GET',
    url: '/space/park/select/web',
    data
  })
}