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)); } /**