class ConfListController {
    @Autowired
    private ConfListService confListService;
    @Autowired
    private AgentsService agentsService;

    @WebAspect
    @Operation(summary = "获取远控超时时间", description = "获取远控超时时间")
    @GetMapping("/getRemoteTimeout")
    public RespModel getRemoteTimeout() {
        return new RespModel<>(RespEnum.SEARCH_OK,
                Integer.parseInt(confListService.searchByKey(ConfType.REMOTE_DEBUG_TIMEOUT).getContent()));
    }

    @WebAspect
    @Operation(summary = "设置远控超时时间", description = "设置远控超时时间")
    @GetMapping("/setRemoteTimeout")
    public RespModel setRemoteTimeout(@RequestParam(name = "timeout") int timeout) {<FILL_FUNCTION_BODY>}

    @WebAspect
    @Operation(summary = "获取闲置超时时间", description = "获取闲置超时时间")
    @GetMapping("/getIdleTimeout")
    public RespModel getIdleTimeout() {
        return new RespModel<>(RespEnum.SEARCH_OK,
                Integer.parseInt(confListService.searchByKey(ConfType.IDEL_DEBUG_TIMEOUT).getContent()));
    }

    @WebAspect
    @Operation(summary = "设置闲置超时时间", description = "设置闲置超时时间")
    @GetMapping("/setIdleTimeout")
    public RespModel setIdleTimeout(@RequestParam(name = "timeout") int timeout) {
        confListService.save(ConfType.IDEL_DEBUG_TIMEOUT, timeout + "", null);
        return new RespModel<>(RespEnum.HANDLE_OK);
    }
}

        confListService.save(ConfType.REMOTE_DEBUG_TIMEOUT, timeout + "", null);
        List<Agents> agentsList = agentsService.findAgents();
        for (Agents agents : agentsList) {
            JSONObject result = new JSONObject();
            result.put("msg", "settings");
            result.put("remoteTimeout", timeout);
            TransportWorker.send(agents.getId(), result);
        }
        return new RespModel<>(RespEnum.HANDLE_OK);
    
<no_super_class>