import request from "@/utils/request.js"; import {host} from "@/config/host.js"; /** * 街道联系方式列表 * @param {Object} data */ export function streetCallList(data) { return request({ url: `${host}/common/street-list`, method: "post", data }); } /** * 系统配置 * @param {Object} data */ export function systemConfig(data) { return request({ url: `${host}/other/goods-type`, method: "get", data }); } /** * 资讯列表 * @param {Object} data */ export function newList(data) { return request({ url: `${host}/other/information-list`, method: "get", data }); } /** * 资讯详情 * @param {Object} data */ export function newDetail(data) { return request({ url: `${host}/other/information-info`, method: "get", data }); } /** * 页面配置 * @param {Object} data */ export function webConfig(data) { return request({ url: `${host}/other/web-config`, method: "get", data }); } /** * 页面配置 * @param {Object} data */ export function getCommonStreet(data) { return request({ url: `${host}/common/get-street`, method: "get", data }); } /** * 暖新服务列表 * @param {Object} data */ export function serviceStreet(data) { return request({ url: `${host}/common/service-list`, method: "post", data }); } /** * 最新资讯 * @param {Object} data */ export function newInfo(data) { return request({ url: `${host}/other/information`, method: "get", data }); } /** * 阿里云文件上传STS * @param {Object} data */ export function getSTS(data) { return request({ url: `${host}/other/get-aliyun-sts`, method: "get", data }); }