mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-11-09 13:53:38 +08:00
12 lines
225 B
TypeScript
12 lines
225 B
TypeScript
import { http } from "../utils/http";
|
|
|
|
type Result = {
|
|
code: number;
|
|
info: Array<any>;
|
|
};
|
|
|
|
// 地图数据
|
|
export const mapJson = (params?: object) => {
|
|
return http.request<Result>("get", "/getMapInfo", { params });
|
|
};
|