21 lines
603 B
TypeScript
Raw Normal View History

2023-10-30 18:58:22 +08:00
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);
};