fix: [xxljob开关]

This commit is contained in:
ovo 2025-03-30 21:33:50 +08:00
parent 1917337775
commit b2be9c9058
1 changed files with 4 additions and 0 deletions

View File

@ -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<Courses> page = new Page<>(pageNumber, size);
LambdaQueryWrapper<Courses> lambdaQueryWrapper = new LambdaQueryWrapper<>();