zhgdlarge/src/api/modules/mapConfig.ts

29 lines
780 B
TypeScript
Raw Normal View History

2025-06-03 13:45:04 +08:00
// 项目展示
import http from "@/api";
const BASEURL = import.meta.env.VITE_API_URL;
// 查询系统配置
export const getSystemConfig = (params: any) => {
return http.post(BASEURL + `/xmgl/systemConfig/queryByKey`, params);
};
// 新增系统配置
export const addSystemConfig = (params: any) => {
return http.post(BASEURL + `/xmgl/systemConfig/add`, params);
};
// 修改系统配置
export const updateSystemConfig = (params: any) => {
return http.post(BASEURL + `/xmgl/systemConfig/edit`, params);
};
// 底图图层列表
export const baseMapList = (params: any) => {
return http.post(BASEURL + `/xmgl/baseMap/list`, params);
};
// 模型gltr列表
export const gltfModelList = (params: any) => {
return http.post(BASEURL + `/xmgl/gltfModel/list`, params);
};