From 1572f45e72cc0fa15c029f9ee2a08474104435e6 Mon Sep 17 00:00:00 2001 From: selfcheer <selfcheer@gmail.com> Date: 星期五, 19 七月 2024 00:48:43 +0800 Subject: [PATCH] 采购单产品列表去掉过滤重复产品的逻辑 --- api/v1/system/sys_system.go | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/api/v1/system/sys_system.go b/api/v1/system/sys_system.go index c20f5f7..7df1148 100644 --- a/api/v1/system/sys_system.go +++ b/api/v1/system/sys_system.go @@ -4,7 +4,6 @@ "srm/global" "srm/model/common/response" "srm/model/system" - systemRes "srm/model/system/response" "srm/utils" "github.com/gin-gonic/gin" @@ -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