You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
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
|
|
|
|
});
|
|
|
|
}
|