|
@@ -105,7 +105,7 @@ public class ProductController { |
|
@@ -105,7 +105,7 @@ public class ProductController { |
105
|
@ApiOperation(name = "ufo.product.secondHand.list", desc = "二手商品列表")
|
105
|
@ApiOperation(name = "ufo.product.secondHand.list", desc = "二手商品列表")
|
106
|
@IgnoreSession
|
106
|
@IgnoreSession
|
107
|
@RequestMapping(params = "method=ufo.product.secondHand.list")
|
107
|
@RequestMapping(params = "method=ufo.product.secondHand.list")
|
108
|
- @Cachable(expire = 180)
|
108
|
+ @Cachable(expire = 60)
|
109
|
public ApiResponse querySecondHandProductList(
|
109
|
public ApiResponse querySecondHandProductList(
|
110
|
@RequestParam(value = "storage_id") Integer storageId
|
110
|
@RequestParam(value = "storage_id") Integer storageId
|
111
|
, @RequestParam(value = "second_type", required = false)String secondType
|
111
|
, @RequestParam(value = "second_type", required = false)String secondType
|
|
@@ -127,7 +127,7 @@ public class ProductController { |
|
@@ -127,7 +127,7 @@ public class ProductController { |
127
|
@ApiOperation(name = "ufo.product.secondHand.list.filter", desc = "二手商品列表filter")
|
127
|
@ApiOperation(name = "ufo.product.secondHand.list.filter", desc = "二手商品列表filter")
|
128
|
@IgnoreSession
|
128
|
@IgnoreSession
|
129
|
@RequestMapping(params = "method=ufo.product.secondHand.list.filter")
|
129
|
@RequestMapping(params = "method=ufo.product.secondHand.list.filter")
|
130
|
- @Cachable(expire = 180)
|
130
|
+ @Cachable(expire = 60)
|
131
|
public ApiResponse querySecondHandProductListFilter( @RequestParam(value = "storage_id") Integer storageId ) {
|
131
|
public ApiResponse querySecondHandProductListFilter( @RequestParam(value = "storage_id") Integer storageId ) {
|
132
|
LOG.info("in method=ufo.product.secondHand.list.filter storageId={}", storageId);
|
132
|
LOG.info("in method=ufo.product.secondHand.list.filter storageId={}", storageId);
|
133
|
JSONObject result = productService.querySecondHandProductListFilter(storageId);
|
133
|
JSONObject result = productService.querySecondHandProductListFilter(storageId);
|
|
@@ -137,7 +137,7 @@ public class ProductController { |
|
@@ -137,7 +137,7 @@ public class ProductController { |
137
|
@ApiOperation(name = "ufo.product.secondHand.list.count", desc = "二手商品列表个数")
|
137
|
@ApiOperation(name = "ufo.product.secondHand.list.count", desc = "二手商品列表个数")
|
138
|
@IgnoreSession
|
138
|
@IgnoreSession
|
139
|
@RequestMapping(params = "method=ufo.product.secondHand.list.count")
|
139
|
@RequestMapping(params = "method=ufo.product.secondHand.list.count")
|
140
|
- @Cachable(expire = 180)
|
140
|
+ @Cachable(expire = 60)
|
141
|
public ApiResponse querySecondHandProductListCount( @RequestParam(value = "storage_id") Integer storageId ) {
|
141
|
public ApiResponse querySecondHandProductListCount( @RequestParam(value = "storage_id") Integer storageId ) {
|
142
|
LOG.info("in method=ufo.product.secondHand.list.count storageId={}", storageId);
|
142
|
LOG.info("in method=ufo.product.secondHand.list.count storageId={}", storageId);
|
143
|
Integer result = productService.querySecondHandProductListCount(storageId);
|
143
|
Integer result = productService.querySecondHandProductListCount(storageId);
|