From 963792355013e9e89904a67352312ab3d9acf7f6 Mon Sep 17 00:00:00 2001
From: liujiandao <274878379@qq.com>
Date: 星期四, 02 十一月 2023 14:02:05 +0800
Subject: [PATCH] 优化重构

---
 api/v1/system/sys_system.go |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/api/v1/system/sys_system.go b/api/v1/system/sys_system.go
index c20f5f7..e76a5b7 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"
@@ -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