|  |  | 
 |  |  |  | 
 |  |  | import java.util.List; | 
 |  |  | import javax.servlet.http.HttpServletResponse; | 
 |  |  |  | 
 |  |  | import io.swagger.annotations.Api; | 
 |  |  | import io.swagger.annotations.ApiOperation; | 
 |  |  | import org.springframework.beans.factory.annotation.Autowired; | 
 |  |  | import org.springframework.security.access.prepost.PreAuthorize; | 
 |  |  | import org.springframework.validation.annotation.Validated; | 
 |  |  | 
 |  |  |  *  | 
 |  |  |  * @author ruoyi | 
 |  |  |  */ | 
 |  |  | @Api(tags = "参数配置") | 
 |  |  | @RestController | 
 |  |  | @RequestMapping("/system/config") | 
 |  |  | public class SysConfigController extends BaseController | 
 |  |  | 
 |  |  |         startPage(); | 
 |  |  |         List<SysConfig> list = configService.selectConfigList(config); | 
 |  |  |         return getDataTable(list); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     @PreAuthorize("@ss.hasPermi('system:config:list')") | 
 |  |  |     @GetMapping("/lists") | 
 |  |  |     public AjaxResult lists(SysConfig config) | 
 |  |  |     { | 
 |  |  |         List<SysConfig> list = configService.selectConfigList(config); | 
 |  |  |         return toAjaxList(list); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     @Log(title = "参数管理", businessType = BusinessType.EXPORT) | 
 |  |  | 
 |  |  |     /** | 
 |  |  |      * 根据参数键名查询参数值 | 
 |  |  |      */ | 
 |  |  |     @ApiOperation("根据参数键名查询参数值") | 
 |  |  |     @GetMapping(value = "/configKey/{configKey}") | 
 |  |  |     public AjaxResult getConfigKey(@PathVariable String configKey) | 
 |  |  |     { |