From b0254c5a17b3915eb00fdcb33f0eea222cff78ee Mon Sep 17 00:00:00 2001
From: 44323 <443237572@qq.com>
Date: 星期三, 06 三月 2024 15:06:54 +0800
Subject: [PATCH] Merge branch '2.0' of http://120.76.84.145:10101/gitblit/r/java/PlayPai

---
 cloud-server-other/src/main/java/com/dsh/other/controller/HomeModuleController.java |   42 ++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 42 insertions(+), 0 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
new file mode 100644
index 0000000..260e6b5
--- /dev/null
+++ b/cloud-server-other/src/main/java/com/dsh/other/controller/HomeModuleController.java
@@ -0,0 +1,42 @@
+package com.dsh.other.controller;
+
+
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.dsh.other.entity.HomeModule;
+import com.dsh.other.service.IHomeModuleService;
+import com.dsh.other.util.ResultUtil;
+import io.swagger.annotations.ApiImplicitParams;
+import io.swagger.annotations.ApiOperation;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.ResponseBody;
+import org.springframework.web.bind.annotation.RestController;
+
+@RestController
+@RequestMapping("")
+public class HomeModuleController {
+
+    @Autowired
+    private IHomeModuleService homeModuleService;
+
+
+
+
+    @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));
+        homeModule.setName(homeModule.getModel());
+        return ResultUtil.success(homeModule);
+    }
+
+
+
+
+
+
+}

--
Gitblit v1.7.1