|
|
@@ -8,6 +8,7 @@ import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestBody;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
@@ -25,7 +26,7 @@ public class LotController extends BaseController {
|
|
|
*/
|
|
|
@PostMapping("/hot/list")
|
|
|
@ApiOperation("热门拍品")
|
|
|
- public AjaxResult hotLot(Lot lot){
|
|
|
+ public AjaxResult hotLot(@RequestBody Lot lot){
|
|
|
if (lot.getPageSize()==null)
|
|
|
lot.setPageSize(20);
|
|
|
startPage(lot);
|