Commit b4cef49b authored by 邓超's avatar 邓超

fix: web配置菜单导入导出接口

parent 28545913
Pipeline #40515 passed with stages
in 31 minutes 26 seconds
import qs from 'qs';
import axios from 'axios';
import { CITY_SERVICE, get, PUBLISH_SERVICE, post, postForm } from '../index';
/**
......@@ -302,3 +303,14 @@ export const SettingRoleWebSchema = query =>
// 根据底图判断是否是方案最后底图
export const GetSchemaBaseMapIsLast = query =>
get(`${PUBLISH_SERVICE}/Maplayer/GetSchemaBaseMapIsLast`, query);
// 上传菜单
export const UpLoadWebModuleTree = query =>
post(`${PUBLISH_SERVICE}/PlatformCenter/UpLoadWebModuleTree`, query, {
headers: {
'Content-Type': 'multipart/form-data;charset=UTF-8',
},
});
export const DownLoadWebModuleTree = query =>
`${PUBLISH_SERVICE}/PlatformCenter/DownLoadWebModuleTree?nodeId=${
query.nodeId
}&sysName=${query.sysName}`;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment