|
|
@@ -5,6 +5,7 @@ import cn.hobbystocks.auc.common.core.domain.AjaxResult;
|
|
|
import cn.hobbystocks.auc.domain.Lot;
|
|
|
import cn.hobbystocks.auc.service.ILotService;
|
|
|
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.RequestMapping;
|
|
|
@@ -12,7 +13,7 @@ import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
-@Api(tags = "客户端拍品查询")
|
|
|
+@Api(tags = "移动端拍品查询")
|
|
|
@RequestMapping("/lot")
|
|
|
@RestController
|
|
|
public class LotController extends BaseController {
|
|
|
@@ -23,6 +24,7 @@ public class LotController extends BaseController {
|
|
|
* 热门拍品查询:查询正在竞拍中的拍品
|
|
|
*/
|
|
|
@PostMapping("/hot/list")
|
|
|
+ @ApiOperation("热门拍品")
|
|
|
public AjaxResult hotLot(Lot lot){
|
|
|
if (lot.getPageSize()==null)
|
|
|
lot.setPageSize(20);
|