From def77d26800e0af4467d26ba57b8ae1800ddc45d Mon Sep 17 00:00:00 2001 From: huanghongfa <huanghongfa123456> Date: 星期三, 21 四月 2021 10:04:29 +0800 Subject: [PATCH] 添加用户查询购物车商品数量接口 --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/AdvertisementApi.java | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/AdvertisementApi.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/AdvertisementApi.java index 0518a2b..09d0e10 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/AdvertisementApi.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/AdvertisementApi.java @@ -108,4 +108,14 @@ public R detailAdvertisement(@RequestParam("id") Long id){ return comOpsAdvService.detailAdvertisement(id); } + + /** + * 删除广告 + * @param id 主键 + * @return 删除结果 + */ + @PostMapping("deleteadvertisement") + public R deleteAdvertisement(@RequestParam("id")Long id){ + return comOpsAdvService.deleteAdvertisement(id); + } } -- Gitblit v1.7.1