...
|
...
|
@@ -43,7 +43,7 @@ public class ProductSearchController { |
|
|
@ApiOperation(name = "ufo.product.search.list", desc="首页商品推荐")
|
|
|
@RequestMapping(params = "method=ufo.product.search.list")
|
|
|
@IgnoreSession
|
|
|
@Cachable(expire = 180)
|
|
|
@Cachable(expire = 1)// TODO 上线不合这一行
|
|
|
public ApiResponse searchProductList(
|
|
|
@RequestParam(value = "type", required = false)Integer type,
|
|
|
@RequestParam(value = "order", required = false)String order,
|
...
|
...
|
@@ -96,7 +96,7 @@ public class ProductSearchController { |
|
|
@ApiOperation(name = "ufo.product.data.search.recommend", desc="商品详情页的相似商品推荐")
|
|
|
@RequestMapping(params = "method=ufo.product.data.search.recommend")
|
|
|
@IgnoreSession
|
|
|
@Cachable(expire = 180)
|
|
|
@Cachable(expire = 1)// TODO 上线不合这一行
|
|
|
public ApiResponse searchProductRecommendById(@RequestParam(value = "product_id") Integer productId) {
|
|
|
|
|
|
if (null == productId) {
|
...
|
...
|
@@ -183,7 +183,7 @@ public class ProductSearchController { |
|
|
@ApiOperation(name = "ufo.product.search.hotSale", desc="热销列表")
|
|
|
@RequestMapping(params = "method=ufo.product.search.hotSale")
|
|
|
@IgnoreSession
|
|
|
@Cachable(expire = 180)
|
|
|
@Cachable(expire = 1)// TODO 上线不合这一行
|
|
|
public ApiResponse searchHotSale(@RequestParam(value = "page", required = false)Integer page,
|
|
|
@RequestParam(value = "limit", required = false)Integer limit) {
|
|
|
if (page == null || page < 1) {
|
...
|
...
|
@@ -201,7 +201,7 @@ public class ProductSearchController { |
|
|
@ApiOperation(name = "ufo.product.search.uvscoreProductList", desc="首页商品推荐")
|
|
|
@RequestMapping(params = "method=ufo.product.search.uvscoreProductList")
|
|
|
@IgnoreSession
|
|
|
@Cachable(expire = 180)
|
|
|
@Cachable(expire = 1)// TODO 上线不合这一行
|
|
|
public ApiResponse searchUvscoreProductList(
|
|
|
@RequestParam(value = "limit", required = false)Integer limit,
|
|
|
@RequestParam(value = "page", required = false)Integer page) {
|
...
|
...
|
|