|
|
@@ -98,4 +98,15 @@ public class TopGoodsController extends BaseController {
|
|
|
List<GoodsVo> list = iGoodsService.queryPointsList(bo);
|
|
|
return getDataTable(list);
|
|
|
}
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 获取商品详细信息
|
|
|
+ */
|
|
|
+ @ApiOperation("获取商品详细信息")
|
|
|
+ @PreAuthorize("@ss.hasPermi('system:goods:query')")
|
|
|
+ @GetMapping("/{goodsId}")
|
|
|
+ public AjaxResult<GoodsVo> getInfo(@PathVariable("goodsId" ) Long goodsId) {
|
|
|
+ return AjaxResult.success(iGoodsService.selectDetail(goodsId));
|
|
|
+ }
|
|
|
+
|
|
|
}
|