From b2be9c9058d7541f78f4d19b7b17457e67bdc2be Mon Sep 17 00:00:00 2001 From: ovo Date: Sun, 30 Mar 2025 21:33:50 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20[xxljob=E5=BC=80=E5=85=B3]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/guwan/backend/controller/CoursesController.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/com/guwan/backend/controller/CoursesController.java b/src/main/java/com/guwan/backend/controller/CoursesController.java index 9dfb49a..a56389b 100644 --- a/src/main/java/com/guwan/backend/controller/CoursesController.java +++ b/src/main/java/com/guwan/backend/controller/CoursesController.java @@ -12,6 +12,7 @@ import com.guwan.backend.service.BSCategoryService; import com.guwan.backend.service.CoursesService; import lombok.RequiredArgsConstructor; +import lombok.extern.slf4j.Slf4j; import org.springframework.data.domain.PageRequest; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.*; @@ -28,6 +29,7 @@ import java.util.stream.Collectors; * @author Guwan * @since 2025-03-13 22:47:31 */ +@Slf4j @RestController @RequestMapping("/bs/courses") @RequiredArgsConstructor @@ -50,8 +52,10 @@ public class CoursesController { @GetMapping("/homePage") public Result queryByPage(@RequestParam("page") Integer pageNumber, @RequestParam("size") Integer size) { + // return Result.success(this.coursesService.queryByPage(courses, pageRequest)); + log.debug("cscscs"); Page page = new Page<>(pageNumber, size); LambdaQueryWrapper lambdaQueryWrapper = new LambdaQueryWrapper<>();