|  |  | 
 |  |  |     @Autowired | 
 |  |  |     private WebParamService webParamService; | 
 |  |  |  | 
 |  |  |  | 
 |  |  |     @ApiOperation("获取当前登录企业配置信息") | 
 |  |  |     @GetMapping("/getByLogin") | 
 |  |  | //    @RequiresPermissions("business:webparam:query") | 
 |  |  |     public ApiResponse<WebParam> getByLogin() { | 
 |  |  |         return ApiResponse.success(webParamService.findOne()); | 
 |  |  |     } | 
 |  |  |     @ApiOperation("获取当前登录企业配置信息1.0.2") | 
 |  |  |     @GetMapping("/getByLoginNew") | 
 |  |  | //    @RequiresPermissions("business:webparam:query") | 
 |  |  |     public ApiResponse<WebParam> getByLoginNew() { | 
 |  |  |         return ApiResponse.success(webParamService.findOneNew()); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     @ApiOperation("更新企业配置信息") | 
 |  |  | 
 |  |  |         webParamService.renew(updateWebParamDTO); | 
 |  |  |         return ApiResponse.success("操作成功"); | 
 |  |  |     } | 
 |  |  |     @ApiOperation("更新企业配置信息1.0.2") | 
 |  |  |     @PostMapping("/renewUpdate") | 
 |  |  |     public ApiResponse renewUpdate(@RequestBody UpdateWebParamDTO updateWebParamDTO) { | 
 |  |  |         webParamService.renewUpdate(updateWebParamDTO); | 
 |  |  |         return ApiResponse.success("操作成功"); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  | } |