@@ -96,7 +96,7 @@ public class SysShopGoodsController {
*/
@GetMapping("/{id}")
public R shopGoodsDetail(@PathVariable("id") Integer id) {
- return R.ok(kxsShopGoodsService.getById(id));
+ return R.ok(kxsShopGoodsService.getByGoodsDetail(id));
}