mirror of
https://github.com/flipped-aurora/gin-vue-admin.git
synced 2026-10-09 11:02:13 +00:00
增加屏蔽loading功能
This commit is contained in:
+15
-14
@@ -7,10 +7,10 @@ import service from "@/utils/request";
|
||||
// @Success 200 {string} string "{"success":true,"data":{},"msg":"返回成功"}"
|
||||
// @Router /system/getSystemConfig [post]
|
||||
export const getSystemConfig = () => {
|
||||
return service({
|
||||
url: "/system/getSystemConfig",
|
||||
method: "post",
|
||||
});
|
||||
return service({
|
||||
url: "/system/getSystemConfig",
|
||||
method: "post",
|
||||
});
|
||||
};
|
||||
|
||||
// @Tags system
|
||||
@@ -21,11 +21,11 @@ export const getSystemConfig = () => {
|
||||
// @Success 200 {string} string "{"success":true,"data":{},"msg":"返回成功"}"
|
||||
// @Router /system/setSystemConfig [post]
|
||||
export const setSystemConfig = (data) => {
|
||||
return service({
|
||||
url: "/system/setSystemConfig",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
return service({
|
||||
url: "/system/setSystemConfig",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
};
|
||||
|
||||
// @Tags system
|
||||
@@ -35,8 +35,9 @@ export const setSystemConfig = (data) => {
|
||||
// @Success 200 {string} string "{"success":true,"data":{},"msg":"返回成功"}"
|
||||
// @Router /system/getServerInfo [post]
|
||||
export const getSystemState = () => {
|
||||
return service({
|
||||
url: "/system/getServerInfo",
|
||||
method: "post",
|
||||
});
|
||||
};
|
||||
return service({
|
||||
url: "/system/getServerInfo",
|
||||
method: "post",
|
||||
donNotShowLoading: true
|
||||
});
|
||||
};
|
||||
Reference in New Issue
Block a user