From adf749e8da2bfce006390b008f6b9e8606b62180 Mon Sep 17 00:00:00 2001
From: liujie <1793218484@qq.com>
Date: 星期四, 28 八月 2025 17:02:30 +0800
Subject: [PATCH] update

---
 cloud-server-other/src/main/java/com/dsh/other/controller/HomeModuleController.java |    9 ++++-----
 1 files changed, 4 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 260e6b5..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,19 +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