修改游客模式商品详情

This commit is contained in:
wuchunlei
2025-04-03 11:14:00 +08:00
parent 4ace069730
commit d4cfd54ed3
3 changed files with 60 additions and 4 deletions

View File

@@ -251,7 +251,7 @@ public class VisitorController {
//商品详情
@RequestMapping("/getProductDetail")
public R getProductDetail(@RequestBody Map<String,Integer> map){
Map<String, Object> detail = medicineShopProductService.getProductDetail(map.get("productId"));
Map<String, Object> detail = medicineShopProductService.getProductDetailVistor(map.get("productId"));
return R.ok().put("data",detail);
}