|
|
@@ -21,6 +21,8 @@ import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
+import static cn.hobbystocks.auc.common.utils.PageUtils.startPage;
|
|
|
+
|
|
|
@RestController
|
|
|
@RequestMapping("/api/bid/fans")
|
|
|
@Slf4j
|
|
|
@@ -50,7 +52,7 @@ public class LotFansController {
|
|
|
@ApiOperation(value = "查询用户收藏的拍品列表(分页)", notes = "分页查询当前用户收藏的拍品列表", response = LotFansResponse.class, responseContainer = "List<LotFansResponse>")
|
|
|
@PostMapping("/fansPage")
|
|
|
public AjaxResult page(@RequestBody LotFansTogglePageRequest request) {
|
|
|
-
|
|
|
+ startPage(request);
|
|
|
List<LotFansResponse> list = lotFansService.page(request);
|
|
|
return AjaxResult.successPage(list);
|
|
|
}
|