fix: [xxljob开关]
This commit is contained in:
parent
1917337775
commit
b2be9c9058
|
@ -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<>();
|
||||
|
|
Loading…
Reference in New Issue