Showing
1 changed file
with
13 additions
and
0 deletions
@@ -128,6 +128,19 @@ public class ProductController { | @@ -128,6 +128,19 @@ public class ProductController { | ||
128 | return productService.queryProductBaseInfo(productId); | 128 | return productService.queryProductBaseInfo(productId); |
129 | } | 129 | } |
130 | 130 | ||
131 | + | ||
132 | + @ApiOperation(name = "ufo.product.baseInfoEx", desc="出售商品,卖家出售的价格区间 供app调用") | ||
133 | + @RequestMapping(params = "method=ufo.product.baseInfoEx") | ||
134 | + @Cachable(expire = 300) | ||
135 | + public ApiResponse queryProductBaseInfoEx(@RequestParam(value = "product_id") Integer productId) { | ||
136 | + if (productId == null) { | ||
137 | + LOG.info("in method=ufo.product.baseInfoEx productId Is Null"); | ||
138 | + return null; | ||
139 | + } | ||
140 | + LOG.info("in method=ufo.product.baseInfoEx productId={}", productId); | ||
141 | + return new ApiResponse.ApiResponseBuilder().data(productService.queryProductBaseInfo(productId)).code(200).message("product data").build(); | ||
142 | + } | ||
143 | + | ||
131 | @ApiOperation(name = "ufo.product.storage.data", desc="sku信息") | 144 | @ApiOperation(name = "ufo.product.storage.data", desc="sku信息") |
132 | @RequestMapping(params = "method=ufo.product.storage.data") | 145 | @RequestMapping(params = "method=ufo.product.storage.data") |
133 | @Cachable(expire = 300) | 146 | @Cachable(expire = 300) |
-
Please register or login to post a comment