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.
 
 
 
 

39 lines
725 B

import { request } from '../axios';
import axios from 'axios';
// 获取场景列表
export const getSceneListData = async (data: any) => {
return request({
url: `/map/scene/sceneList`,
method: 'post',
data: {
pageNum: 1,
pageSize: 10,
data: {
id: '',
name: data.name
},
params: {
order: 'asc',
orderBy: 'pub_date'
}
}
});
};
export const getLayerLegend = async (url: string) => {
return axios.get(url);
};
// 获取图形的
export const getLayerData = async (url: string, params: any) => {
return request({
url,
method: 'post',
data: params,
headers: {
'Content-Type': 'multipart/form-data'
}
});
};