From d20acf38c36c11ee4428c3e74a17f5870dc61b51 Mon Sep 17 00:00:00 2001 From: liujiandao <274878379@qq.com> Date: 星期四, 16 十一月 2023 09:51:00 +0800 Subject: [PATCH] Merge branch 'master' of http://192.168.5.5:10010/r/aps/SRM --- api/v1/system/sys_system.go | 13 ++++++------- 1 files changed, 6 insertions(+), 7 deletions(-) diff --git a/api/v1/system/sys_system.go b/api/v1/system/sys_system.go index af6ab71..7df1148 100644 --- a/api/v1/system/sys_system.go +++ b/api/v1/system/sys_system.go @@ -1,11 +1,10 @@ package system import ( - "github.com/flipped-aurora/gin-vue-admin/server/global" - "github.com/flipped-aurora/gin-vue-admin/server/model/common/response" - "github.com/flipped-aurora/gin-vue-admin/server/model/system" - systemRes "github.com/flipped-aurora/gin-vue-admin/server/model/system/response" - "github.com/flipped-aurora/gin-vue-admin/server/utils" + "srm/global" + "srm/model/common/response" + "srm/model/system" + "srm/utils" "github.com/gin-gonic/gin" "go.uber.org/zap" @@ -18,7 +17,7 @@ // @Summary 鑾峰彇閰嶇疆鏂囦欢鍐呭 // @Security ApiKeyAuth // @Produce application/json -// @Success 200 {object} response.Response{data=systemRes.SysConfigResponse,msg=string} "鑾峰彇閰嶇疆鏂囦欢鍐呭,杩斿洖鍖呮嫭绯荤粺閰嶇疆" +// @Success 200 {object} response.Response{data=system.System,msg=string} "鑾峰彇閰嶇疆鏂囦欢鍐呭,杩斿洖鍖呮嫭绯荤粺閰嶇疆" // @Router /system/getSystemConfig [post] func (s *SystemApi) GetSystemConfig(c *gin.Context) { config, err := systemConfigService.GetSystemConfig() @@ -27,7 +26,7 @@ response.FailWithMessage("鑾峰彇澶辫触", c) return } - response.OkWithDetailed(systemRes.SysConfigResponse{Config: config}, "鑾峰彇鎴愬姛", c) + response.OkWithDetailed(system.System{Config: config}, "鑾峰彇鎴愬姛", c) } // SetSystemConfig -- Gitblit v1.8.0