|
|
|
@ -8,6 +8,7 @@ import lombok.extern.slf4j.Slf4j; |
|
|
|
import org.jeecg.common.api.vo.Result; |
|
|
|
import org.jeecg.config.shiro.IgnoreAuth; |
|
|
|
import org.jeecg.modules.applet.service.AppletApiBooksService; |
|
|
|
import org.jeecg.modules.demo.appletBookStand.entity.AppletBookStand; |
|
|
|
import org.jeecg.modules.demo.appletBooks.entity.AppletBooks; |
|
|
|
import org.jeecg.modules.demo.appletCategorize.entity.AppletCategorize; |
|
|
|
import org.jeecg.modules.demo.appletCourse.entity.AppletCourse; |
|
|
|
@ -62,12 +63,12 @@ public class AppletApiBooksController { |
|
|
|
|
|
|
|
@Operation(summary = "查询书桌列表", description = "查询书桌列表") |
|
|
|
@GetMapping(value = "/stand") |
|
|
|
public Result<IPage<AppletBooks>> stand(@Parameter(description = "搜素关键字") String title, |
|
|
|
public Result<IPage<AppletBookStand>> stand(@Parameter(description = "搜素关键字") String title, |
|
|
|
@RequestParam(name = "pageNo", defaultValue = "1") Integer pageNo, |
|
|
|
@RequestParam(name = "pageSize", defaultValue = "10") Integer pageSize) { |
|
|
|
log.info("查询书桌列表"); |
|
|
|
Page<AppletBooks> booksPage = new Page<>(pageNo, pageSize); |
|
|
|
IPage<AppletBooks> list = appletApiBooksService |
|
|
|
Page<AppletBookStand> booksPage = new Page<>(pageNo, pageSize); |
|
|
|
IPage<AppletBookStand> list = appletApiBooksService |
|
|
|
.getBooksStand(booksPage, title); |
|
|
|
return Result.OK(list); |
|
|
|
} |
|
|
|
|