From 89ff1a52320315f24912b58e4e025e35237cf367 Mon Sep 17 00:00:00 2001 From: puzhibing <393733352@qq.com> Date: 星期三, 11 十二月 2024 17:54:36 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/SystemConfigController.java | 10 ++++------ 1 files changed, 4 insertions(+), 6 deletions(-) diff --git a/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/SystemConfigController.java b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/SystemConfigController.java index 8a05bbc..7f4830b 100644 --- a/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/SystemConfigController.java +++ b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/SystemConfigController.java @@ -9,8 +9,6 @@ import com.ruoyi.other.api.dto.StartPageSetDto; import com.ruoyi.other.service.SystemConfigService; import org.springframework.web.bind.annotation.*; -import io.swagger.annotations.Api; -import org.springframework.web.bind.annotation.*; import io.swagger.annotations.ApiOperation; import javax.annotation.Resource; @@ -30,7 +28,7 @@ @Resource private SystemConfigService systemConfigService; @PostMapping("/index/add") - @ApiOperation(value = "添加", tags = {"后台-广告管理-首页配置"}) + @ApiOperation(value = "添加", tags = {"后台管理-广告管理-首页配置"}) public R add(@RequestBody IndexConfigSetDto indexConfigSetDto){ //先删除type=2的数据 List<SystemConfig> list = systemConfigService.lambdaQuery().eq(SystemConfig::getType, 2).list(); @@ -42,7 +40,7 @@ return R.ok(); } @GetMapping("/index/detail") - @ApiOperation(value = "宣传图片-公司简介", tags = {"后台-广告管理-首页配置","小程序-首页"}) + @ApiOperation(value = "宣传图片-公司简介", tags = {"后台管理-广告管理-首页配置","小程序-首页"}) public R<IndexConfigSetDto> detail(){ SystemConfig one = systemConfigService.lambdaQuery().eq(SystemConfig::getType, 2).one(); if (one==null){ @@ -66,7 +64,7 @@ return R.ok(one); } - @PostMapping("/index/start") + @GetMapping("/index/start") @ApiOperation(value = "宣传图片-公司简介", tags = {"小程序-启动页"}) public R<StartPageSetDto> indexstart(){ SystemConfig one = systemConfigService.lambdaQuery().eq(SystemConfig::getType, 1).one(); @@ -79,7 +77,7 @@ } @PostMapping("/startPage/add") - @ApiOperation(value = "添加", tags = {"后台-广告管理-启动页管理"}) + @ApiOperation(value = "添加", tags = {"后台管理-广告管理-启动页管理"}) public R startPageadd(@RequestBody StartPageSetDto startPageSetDto){ //先删除type=1的数据 List<SystemConfig> list = systemConfigService.lambdaQuery().eq(SystemConfig::getType, 1).list(); -- Gitblit v1.7.1