import {httpApi} from "../request/httpApi";

//用户配置保存
export const userConfigSave = (form, msg = true) => httpApi({
    url: '/api/blade-business/defaultConfig/saveOrUpdate',
    method: 'post',
    data: form
}, msg);

//用户配置详情
export const userConfigInfo = (form, msg = true) => httpApi({
    url: '/api/blade-business/defaultConfig/detail',
    method: 'get',
    params: form
}, msg);

//获取全部项目列表
export const getProjectList = () => httpApi({
    url: '/api/blade-control/ex/ma/project/list',
    method: 'get',
    params: {}
}, false);
