|
@@ -359,4 +359,17 @@ public class ProductPageApi {
|
|
|
}
|
|
|
return pageService.getSvipProductPage(userId, source, pageNum, pageSize, flag);
|
|
|
}
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 充值商品详情
|
|
|
+ */
|
|
|
+ @ApiOperation("充值商品详情(旧:/product/rechargeGoods)")
|
|
|
+ @ApiImplicitParam(required = false, name = "productId", value = "商品Id")
|
|
|
+ @GetMapping("/recharge/details")
|
|
|
+ public ResponseJson<ProductDetailVo> getRechargeGoods(Integer productId) {
|
|
|
+ if (productId == null) {
|
|
|
+ return ResponseJson.error("参数异常", null);
|
|
|
+ }
|
|
|
+ return pageService.getRechargeGoods(productId);
|
|
|
+ }
|
|
|
}
|