import { ResPage, User } from "@/api/types/common"; // import { BASEURL } from "@/api/config/servicePort"; import http from "@/api"; import axios from "axios"; const BASEURL = import.meta.env.VITE_API_URL; // const BASEURL1 = import.meta.env.VITE_API_URL + "6868"; /** * @name 公共的模块统一抽离api */ // 查询系统配置 export const getSystemConfig = (params: any) => { return http.post(BASEURL + `/xmgl/systemConfig/queryByKey`, params); }; // 修改系统配置 export const updateSystemConfig = (params: any) => { return http.post(BASEURL + `/xmgl/systemConfig/edit`, params); };