diff --git a/QMPlusVuePage/src/api/system.js b/QMPlusVuePage/src/api/system.js new file mode 100644 index 00000000..bdfaae08 --- /dev/null +++ b/QMPlusVuePage/src/api/system.js @@ -0,0 +1,29 @@ +import service from '@/utils/request' + +// @Tags systrm +// @Summary 获取配置文件内容 +// @Security ApiKeyAuth +// @Produce application/json +// @Success 200 {string} string "{"success":true,"data":{},"msg":"返回成功"}" +// @Router /system/getSystemConfig [post] +export const getSystemConfig = () => { + return service({ + url: "/system/getSystemConfig", + method: 'post', + }) +} + +// @Tags system +// @Summary 设置配置文件内容 +// @Security ApiKeyAuth +// @Produce application/json +// @Param data body sysModel.System true +// @Success 200 {string} string "{"success":true,"data":{},"msg":"返回成功"}" +// @Router /system/setSystemConfig [post] +export const setSystemConfig = (data) => { + return service({ + url: "/system/setSystemConfig", + method: 'post', + data + }) +} \ No newline at end of file diff --git a/QMPlusVuePage/src/view/superAdmin/system/system.vue b/QMPlusVuePage/src/view/superAdmin/system/system.vue new file mode 100644 index 00000000..1a23778e --- /dev/null +++ b/QMPlusVuePage/src/view/superAdmin/system/system.vue @@ -0,0 +1,103 @@ + + + + \ No newline at end of file