大屏项目初始化
This commit is contained in:
@@ -2,10 +2,10 @@ 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.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
@@ -34,7 +34,9 @@ public class HomeModuleController {
|
||||
}
|
||||
|
||||
|
||||
public Result<Message> delete() {
|
||||
@PostMapping("delete")
|
||||
public Result<Message> delete(String moduleId) {
|
||||
System.out.println(moduleId);
|
||||
return Result.success(new Message("数据删除成功", 200));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user