From 32bd52ec49d25021b6a35d8ee5f32c70df788165 Mon Sep 17 00:00:00 2001
From: jiangqs <jiangqs>
Date: 星期三, 05 七月 2023 21:30:21 +0800
Subject: [PATCH] bug 用户端

---
 ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/controller/management/MgtConfigController.java |   15 ++++++++++++---
 1 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/controller/management/MgtConfigController.java b/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/controller/management/MgtConfigController.java
index ef3fbf3..93f2050 100644
--- a/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/controller/management/MgtConfigController.java
+++ b/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/controller/management/MgtConfigController.java
@@ -33,7 +33,7 @@
  * @Date 2023/6/6 9:14
  * @Version 1.0
  */
-@Api(value = "平台端配置相关接口", tags = "平台端配置相关接口", description = "平台端配置相关接口")
+@Api(value = "管理后台配置相关接口", tags = "管理后台配置相关接口", description = "管理后台配置相关接口")
 @RestController
 @RequestMapping("/mgt/config")
 public class MgtConfigController {
@@ -80,11 +80,18 @@
 
     @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<MgtActivenessListVo>> getActivenessList() {
+        List<MgtActivenessListVo> activenessList = activenessService.getActivenessList();
+        return R.ok(activenessList);
     }
 
     @RequestMapping(value = "/editCooperation", method = RequestMethod.POST)
@@ -474,4 +481,6 @@
         MgtBulletinBoardVo bulletinBoard = customConfigService.getBulletinBoard();
         return R.ok(bulletinBoard);
     }
+
+
 }

--
Gitblit v1.7.1