大屏项目初始化

This commit is contained in:
2026-03-07 19:08:40 +08:00
parent b7bfdfd2bc
commit a052721622
22 changed files with 1203 additions and 85 deletions

View File

@@ -2,12 +2,16 @@ package com.mini.mybigscreen.biz.controller;
import com.mini.mybigscreen.Model.Message;
import com.mini.mybigscreen.Model.Result;
import com.mini.mybigscreen.biz.service.HomeModuleGroupService;
import com.mini.mybigscreen.biz.service.HomeModuleService;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 前端控制器
* 前端控制器
* </p>
*
* @author gaoxq
@@ -17,6 +21,13 @@ import org.springframework.web.bind.annotation.RestController;
@RequestMapping("/biz/homeModule")
public class HomeModuleController {
@Resource
private HomeModuleService moduleService;
@GetMapping("list")
public Result<?> getList() {
return Result.success(moduleService.list());
}
public Result<Message> save() {
return Result.success(new Message("数据新增成功", 200));