From cfa7d0a90e7da9b52606ab8fca364fa5bddddcd4 Mon Sep 17 00:00:00 2001
From: 无关风月 <443237572@qq.com>
Date: 星期四, 28 八月 2025 20:14:15 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/2.0' into 2.0

---
 cloud-server-other/src/main/java/com/dsh/other/controller/HomeModuleController.java |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/cloud-server-other/src/main/java/com/dsh/other/controller/HomeModuleController.java b/cloud-server-other/src/main/java/com/dsh/other/controller/HomeModuleController.java
index 01f561d..d219e5e 100644
--- a/cloud-server-other/src/main/java/com/dsh/other/controller/HomeModuleController.java
+++ b/cloud-server-other/src/main/java/com/dsh/other/controller/HomeModuleController.java
@@ -13,6 +13,8 @@
 import org.springframework.web.bind.annotation.ResponseBody;
 import org.springframework.web.bind.annotation.RestController;
 
+import java.util.List;
+
 @RestController
 @RequestMapping("")
 public class HomeModuleController {
@@ -22,18 +24,16 @@
 
 
 
-
     @ResponseBody
     @PostMapping("/base/homeModule/getHomeModule")
     @ApiOperation(value = "获取平台配置模块详情【2.0】", tags = {"APP-加入玩湃"})
     @ApiImplicitParams({
     })
-    public ResultUtil<HomeModule> getHomeModule(){
-        HomeModule homeModule = homeModuleService.getOne(new QueryWrapper<HomeModule>().eq("isOpen", 1));
+    public ResultUtil<HomeModule> getHomeModule(Integer id){
+        HomeModule homeModule = homeModuleService.getById(id);
+        homeModule.setName(homeModule.getModel());
         return ResultUtil.success(homeModule);
     }
-
-
 
 
 

--
Gitblit v1.7.1