...
|
...
|
@@ -105,7 +105,7 @@ public class ProductController { |
|
|
@ApiOperation(name = "ufo.product.secondHand.list", desc = "二手商品列表")
|
|
|
@IgnoreSession
|
|
|
@RequestMapping(params = "method=ufo.product.secondHand.list")
|
|
|
@Cachable(expire = 180)
|
|
|
@Cachable(expire = 60)
|
|
|
public ApiResponse querySecondHandProductList(
|
|
|
@RequestParam(value = "storage_id") Integer storageId
|
|
|
, @RequestParam(value = "second_type", required = false)String secondType
|
...
|
...
|
@@ -127,7 +127,7 @@ public class ProductController { |
|
|
@ApiOperation(name = "ufo.product.secondHand.list.filter", desc = "二手商品列表filter")
|
|
|
@IgnoreSession
|
|
|
@RequestMapping(params = "method=ufo.product.secondHand.list.filter")
|
|
|
@Cachable(expire = 180)
|
|
|
@Cachable(expire = 60)
|
|
|
public ApiResponse querySecondHandProductListFilter( @RequestParam(value = "storage_id") Integer storageId ) {
|
|
|
LOG.info("in method=ufo.product.secondHand.list.filter storageId={}", storageId);
|
|
|
JSONObject result = productService.querySecondHandProductListFilter(storageId);
|
...
|
...
|
@@ -137,7 +137,7 @@ public class ProductController { |
|
|
@ApiOperation(name = "ufo.product.secondHand.list.count", desc = "二手商品列表个数")
|
|
|
@IgnoreSession
|
|
|
@RequestMapping(params = "method=ufo.product.secondHand.list.count")
|
|
|
@Cachable(expire = 180)
|
|
|
@Cachable(expire = 60)
|
|
|
public ApiResponse querySecondHandProductListCount( @RequestParam(value = "storage_id") Integer storageId ) {
|
|
|
LOG.info("in method=ufo.product.secondHand.list.count storageId={}", storageId);
|
|
|
Integer result = productService.querySecondHandProductListCount(storageId);
|
...
|
...
|
|