测试
This commit is contained in:
parent
6c32b92e73
commit
f3bcd3aa0c
@ -40,6 +40,16 @@ public class ProductController {
|
|||||||
@Autowired
|
@Autowired
|
||||||
private ProductService productService;
|
private ProductService productService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 为你推荐
|
||||||
|
*/
|
||||||
|
@ApiOperation(value = "热门商品推荐")
|
||||||
|
@RequestMapping(value = "/pageList/suggest", method = RequestMethod.GET)
|
||||||
|
public CommonResult<CommonPage<IndexProductResponse>> getProductSuggestionList(@RequestParam String searchWord) {
|
||||||
|
return CommonResult.success(productService.getProductSuggestionList(searchWord));
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 热门商品推荐
|
* 热门商品推荐
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -103,4 +103,11 @@ public interface ProductService {
|
|||||||
* @return List
|
* @return List
|
||||||
*/
|
*/
|
||||||
List<StoreProduct> getLeaderboard();
|
List<StoreProduct> getLeaderboard();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* !!!wby cc!!!
|
||||||
|
* 为你推荐
|
||||||
|
* @return List
|
||||||
|
*/
|
||||||
|
CommonPage<IndexProductResponse> getProductSuggestionList(String searchWord);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user