pad点餐接口实现
This commit is contained in:
@@ -39,13 +39,13 @@ public class PadProdController {
|
||||
|
||||
/**
|
||||
* 获取点餐详情
|
||||
* @param padProductCategory tb_pad_product_category Id
|
||||
* @param id tb_pad_product_category Id
|
||||
* @return 数据
|
||||
*/
|
||||
@SaAdminCheckPermission(value = "padProd:detail", name = "pad点餐详情")
|
||||
@GetMapping("/detail")
|
||||
public CzgResult<PadDetailDTO> detail(Long padProductCategory) {
|
||||
return CzgResult.success(padProdService.detail(StpKit.USER.getShopId(), padProductCategory));
|
||||
public CzgResult<PadDetailDTO> detail(Long id) {
|
||||
return CzgResult.success(padProdService.detail(StpKit.USER.getShopId(), id));
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -69,7 +69,7 @@ public class PadProdController {
|
||||
}
|
||||
|
||||
/**
|
||||
* pad点餐修改
|
||||
* pad点餐删除
|
||||
* @return 是否成功
|
||||
*/
|
||||
@SaAdminCheckPermission(value = "padProd:del", name = "pad点餐删除")
|
||||
|
||||
Reference in New Issue
Block a user