|
@@ -43,7 +43,7 @@ public class ProductSearchController { |
|
@@ -43,7 +43,7 @@ public class ProductSearchController { |
43
|
@ApiOperation(name = "ufo.product.search.list", desc="首页商品推荐")
|
43
|
@ApiOperation(name = "ufo.product.search.list", desc="首页商品推荐")
|
44
|
@RequestMapping(params = "method=ufo.product.search.list")
|
44
|
@RequestMapping(params = "method=ufo.product.search.list")
|
45
|
@IgnoreSession
|
45
|
@IgnoreSession
|
46
|
- @Cachable(expire = 180)
|
46
|
+ @Cachable(expire = 1)// TODO 上线不合这一行
|
47
|
public ApiResponse searchProductList(
|
47
|
public ApiResponse searchProductList(
|
48
|
@RequestParam(value = "type", required = false)Integer type,
|
48
|
@RequestParam(value = "type", required = false)Integer type,
|
49
|
@RequestParam(value = "order", required = false)String order,
|
49
|
@RequestParam(value = "order", required = false)String order,
|
|
@@ -96,7 +96,7 @@ public class ProductSearchController { |
|
@@ -96,7 +96,7 @@ public class ProductSearchController { |
96
|
@ApiOperation(name = "ufo.product.data.search.recommend", desc="商品详情页的相似商品推荐")
|
96
|
@ApiOperation(name = "ufo.product.data.search.recommend", desc="商品详情页的相似商品推荐")
|
97
|
@RequestMapping(params = "method=ufo.product.data.search.recommend")
|
97
|
@RequestMapping(params = "method=ufo.product.data.search.recommend")
|
98
|
@IgnoreSession
|
98
|
@IgnoreSession
|
99
|
- @Cachable(expire = 180)
|
99
|
+ @Cachable(expire = 1)// TODO 上线不合这一行
|
100
|
public ApiResponse searchProductRecommendById(@RequestParam(value = "product_id") Integer productId) {
|
100
|
public ApiResponse searchProductRecommendById(@RequestParam(value = "product_id") Integer productId) {
|
101
|
|
101
|
|
102
|
if (null == productId) {
|
102
|
if (null == productId) {
|
|
@@ -183,7 +183,7 @@ public class ProductSearchController { |
|
@@ -183,7 +183,7 @@ public class ProductSearchController { |
183
|
@ApiOperation(name = "ufo.product.search.hotSale", desc="热销列表")
|
183
|
@ApiOperation(name = "ufo.product.search.hotSale", desc="热销列表")
|
184
|
@RequestMapping(params = "method=ufo.product.search.hotSale")
|
184
|
@RequestMapping(params = "method=ufo.product.search.hotSale")
|
185
|
@IgnoreSession
|
185
|
@IgnoreSession
|
186
|
- @Cachable(expire = 180)
|
186
|
+ @Cachable(expire = 1)// TODO 上线不合这一行
|
187
|
public ApiResponse searchHotSale(@RequestParam(value = "page", required = false)Integer page,
|
187
|
public ApiResponse searchHotSale(@RequestParam(value = "page", required = false)Integer page,
|
188
|
@RequestParam(value = "limit", required = false)Integer limit) {
|
188
|
@RequestParam(value = "limit", required = false)Integer limit) {
|
189
|
if (page == null || page < 1) {
|
189
|
if (page == null || page < 1) {
|
|
@@ -201,7 +201,7 @@ public class ProductSearchController { |
|
@@ -201,7 +201,7 @@ public class ProductSearchController { |
201
|
@ApiOperation(name = "ufo.product.search.uvscoreProductList", desc="首页商品推荐")
|
201
|
@ApiOperation(name = "ufo.product.search.uvscoreProductList", desc="首页商品推荐")
|
202
|
@RequestMapping(params = "method=ufo.product.search.uvscoreProductList")
|
202
|
@RequestMapping(params = "method=ufo.product.search.uvscoreProductList")
|
203
|
@IgnoreSession
|
203
|
@IgnoreSession
|
204
|
- @Cachable(expire = 180)
|
204
|
+ @Cachable(expire = 1)// TODO 上线不合这一行
|
205
|
public ApiResponse searchUvscoreProductList(
|
205
|
public ApiResponse searchUvscoreProductList(
|
206
|
@RequestParam(value = "limit", required = false)Integer limit,
|
206
|
@RequestParam(value = "limit", required = false)Integer limit,
|
207
|
@RequestParam(value = "page", required = false)Integer page) {
|
207
|
@RequestParam(value = "page", required = false)Integer page) {
|