ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/ScreenController.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
ruoyi-system/src/main/java/com/ruoyi/system/service/impl/ScreenService.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/ScreenController.java
New file @@ -0,0 +1,19 @@ package com.ruoyi.web.controller.api; import com.ruoyi.system.service.impl.ScreenService; import io.swagger.annotations.Api; import lombok.RequiredArgsConstructor; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; /** * @author mitao * @date 2025/3/19 */ @Api(tags = {"大屏相关接口"}) @RestController @RequestMapping("/screen") @RequiredArgsConstructor public class ScreenController { private final ScreenService screenService; } ruoyi-system/src/main/java/com/ruoyi/system/service/impl/ScreenService.java
New file @@ -0,0 +1,15 @@ package com.ruoyi.system.service.impl; import lombok.RequiredArgsConstructor; import org.springframework.context.annotation.Lazy; import org.springframework.stereotype.Service; /** * @author mitao * @date 2025/3/19 */ @Service @RequiredArgsConstructor(onConstructor_ = {@Lazy}) public class ScreenService { }