Authored by mali

基本商品信息app接口

... ... @@ -128,6 +128,19 @@ public class ProductController {
return productService.queryProductBaseInfo(productId);
}
@ApiOperation(name = "ufo.product.baseInfoEx", desc="出售商品,卖家出售的价格区间 供app调用")
@RequestMapping(params = "method=ufo.product.baseInfoEx")
@Cachable(expire = 300)
public ApiResponse queryProductBaseInfoEx(@RequestParam(value = "product_id") Integer productId) {
if (productId == null) {
LOG.info("in method=ufo.product.baseInfoEx productId Is Null");
return null;
}
LOG.info("in method=ufo.product.baseInfoEx productId={}", productId);
return new ApiResponse.ApiResponseBuilder().data(productService.queryProductBaseInfo(productId)).code(200).message("product data").build();
}
@ApiOperation(name = "ufo.product.storage.data", desc="sku信息")
@RequestMapping(params = "method=ufo.product.storage.data")
@Cachable(expire = 300)
... ...