import request from "@/utils/request.js"; import { host } from './config.js' /** * 获取配置文件 * @param {Object} data */ export function getconfig(data) { return request({ url: `${host}/get-config`, method: "get", data }); } /** * 发送验证码 * @param {Object} data */ export function sendcode(data) { return request({ url: `${host}/send-code`, method: "post", data }); } /** * 咨询接口 * @param {Object} data */ export function consultingservice(data) { return request({ url: `${host}/consulting-service`, method: "post", data }); }