From 4040856595952ea0b8f8b764ba2770d5c244c891 Mon Sep 17 00:00:00 2001 From: yanghui <2536613402@qq.com> Date: 星期五, 14 十月 2022 11:19:08 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/huacheng_test' into local_20221010 --- flower_city/src/main/java/com/dg/core/controller/SlideshowController.java | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/flower_city/src/main/java/com/dg/core/controller/SlideshowController.java b/flower_city/src/main/java/com/dg/core/controller/SlideshowController.java index 0fd54d1..ced81f0 100644 --- a/flower_city/src/main/java/com/dg/core/controller/SlideshowController.java +++ b/flower_city/src/main/java/com/dg/core/controller/SlideshowController.java @@ -1,6 +1,7 @@ package com.dg.core.controller; import com.dg.core.ResultData; +import com.dg.core.annotation.Authorization; import com.dg.core.db.gen.entity.Agreement; import com.dg.core.db.gen.entity.OrganizationChartEntity; import com.dg.core.db.gen.entity.Slideshow; @@ -61,6 +62,7 @@ */ @ApiOperation(value = "修改轮播图数据",response = Slideshow.class) @PostMapping("/update") + @Authorization public ResultData update(@RequestBody Slideshow slideshow){ return iSlideshowService.update(slideshow); } @@ -72,6 +74,7 @@ */ @ApiOperation(value = "删除轮播图数据",response = Slideshow.class) @GetMapping("/delete") + @Authorization public ResultData delete(@RequestParam("id") Integer id){ return iSlideshowService.delete(id); } -- Gitblit v1.7.1