mirror of
https://gitcode.com/flipped-aurora/gin-vue-admin.git
synced 2026-05-20 22:27:59 +00:00
added ESlint 语法检测
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import service from "@/utils/request";
|
||||
import service from '@/utils/request'
|
||||
|
||||
// @Tags systrm
|
||||
// @Summary 获取配置文件内容
|
||||
@@ -7,11 +7,11 @@ 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
|
||||
// @Summary 设置配置文件内容
|
||||
@@ -21,12 +21,12 @@ 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
|
||||
// @Summary 获取服务器运行状态
|
||||
@@ -35,9 +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",
|
||||
donNotShowLoading: true
|
||||
});
|
||||
};
|
||||
return service({
|
||||
url: '/system/getServerInfo',
|
||||
method: 'post',
|
||||
donNotShowLoading: true
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user