From 6de53b95200803850ba9c2bb1f1b4f342511146a Mon Sep 17 00:00:00 2001 From: Lu-aiLiang <13208981+Lu-aiLiang@user.noreply.gitee.com> Date: Sat, 23 Sep 2023 14:29:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8F=82=E6=95=B0=E5=93=8D?= =?UTF-8?q?=E5=BA=94=E5=9C=A8msg=E7=9A=84bug=E7=8E=B0=E5=B7=B2=E6=9B=B4?= =?UTF-8?q?=E6=94=B9=E4=B8=BAdata?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/SysConfigController.java | 22 +++++++------------ 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/base-system-server/src/main/java/com/bawei/system/controller/SysConfigController.java b/base-system-server/src/main/java/com/bawei/system/controller/SysConfigController.java index dc3e0fc..f780c1b 100644 --- a/base-system-server/src/main/java/com/bawei/system/controller/SysConfigController.java +++ b/base-system-server/src/main/java/com/bawei/system/controller/SysConfigController.java @@ -1,17 +1,5 @@ package com.bawei.system.controller; -import java.util.List; -import javax.servlet.http.HttpServletResponse; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.validation.annotation.Validated; -import org.springframework.web.bind.annotation.DeleteMapping; -import org.springframework.web.bind.annotation.GetMapping; -import org.springframework.web.bind.annotation.PathVariable; -import org.springframework.web.bind.annotation.PostMapping; -import org.springframework.web.bind.annotation.PutMapping; -import org.springframework.web.bind.annotation.RequestBody; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.RestController; import com.bawei.common.core.constant.UserConstants; import com.bawei.common.core.utils.poi.ExcelUtil; import com.bawei.common.core.web.controller.BaseController; @@ -23,10 +11,16 @@ import com.bawei.common.security.annotation.RequiresPermissions; import com.bawei.common.security.utils.SecurityUtils; import com.bawei.system.domain.SysConfig; import com.bawei.system.service.ISysConfigService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.validation.annotation.Validated; +import org.springframework.web.bind.annotation.*; + +import javax.servlet.http.HttpServletResponse; +import java.util.List; /** * 参数配置 信息操作处理 - * + * * @author bawei */ @RestController @@ -73,7 +67,7 @@ public class SysConfigController extends BaseController @GetMapping(value = "/configKey/{configKey}") public AjaxResult getConfigKey(@PathVariable String configKey) { - return AjaxResult.success(configService.selectConfigByKey(configKey)); + return AjaxResult.success("查询成功",configService.selectConfigByKey(configKey)); } /**