| | |
| | | |
| | | @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); |
| | | } |
| | | |