Authored by Lixiaodi

修改缓存时间

... ... @@ -116,7 +116,7 @@
<select id="selectBySkupList" resultMap="BaseResultMap">
select id, skup, product_id, goods_id, storage_id, depot_num, seller_uid, price, status,
update_time, create_time
update_time, create_time, pre_sale_flag
from storage_price
where skup in
<foreach item="item" index="index" collection="skupList"
... ...
... ... @@ -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);
... ...