jiangqs
2023-07-04 9c6fd541f0aa8e384c26998597a6788bb77eca8d
ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/controller/management/MgtConfigController.java
@@ -80,17 +80,17 @@
    @RequestMapping(value = "/getCustomConfig", method = RequestMethod.POST)
    @ApiOperation(value = "获取单个配置")
    public R<MgtCustomConfigVo> getCustomConfig(@RequestBody MgtCustomConfigDto mgtCustomConfigDto) {
    public R<List<String>> getCustomConfig(@RequestBody MgtCustomConfigDto mgtCustomConfigDto) {
        Long userId = SecurityUtils.getUserId();
        mgtCustomConfigDto.setUserId(userId);
        MgtCustomConfigVo mgtCustomConfigVo = customConfigService.getCustomConfig(mgtCustomConfigDto);
        List<String> mgtCustomConfigVo = customConfigService.getCustomConfig(mgtCustomConfigDto);
        return R.ok(mgtCustomConfigVo);
    }
    @RequestMapping(value = "/getActivenessList", method = RequestMethod.POST)
    @ApiOperation(value = "获取活跃度")
    public R<List<String>> getActivenessList() {
        List<String> activenessList = activenessService.getActivenessList();
    public R<List<MgtActivenessListVo>> getActivenessList() {
        List<MgtActivenessListVo> activenessList = activenessService.getActivenessList();
        return R.ok(activenessList);
    }