From d0a4f1260ae71837c125a9f2c4609e6fbf0c5ee1 Mon Sep 17 00:00:00 2001
From: phpcjl <phpcjl@gmail.com>
Date: 星期一, 16 十二月 2024 14:36:44 +0800
Subject: [PATCH] 1
---
ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/BannerController.java | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/BannerController.java b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/BannerController.java
index ae379d3..3493fae 100644
--- a/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/BannerController.java
+++ b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/BannerController.java
@@ -37,31 +37,31 @@
return R.ok(list);
}
@PostMapping("/add")
- @ApiOperation(value = "添加", tags = {"后台-广告管理-banner管理"})
+ @ApiOperation(value = "广告管理-banner管理-添加", tags = {"管理后台"})
public R add(@RequestBody Banner banner){
bannerService.save(banner);
return R.ok();
}
@GetMapping("/delete")
- @ApiOperation(value = "删除", tags = {"后台-广告管理-banner管理"})
+ @ApiOperation(value = "广告管理-banner管理-删除", tags = {"管理后台"})
public R delete(@RequestParam Integer id){
bannerService.removeById(id);
return R.ok();
}
@PostMapping("/edit")
- @ApiOperation(value = "修改", tags = {"后台-广告管理-banner管理"})
+ @ApiOperation(value = "广告管理-banner管理-修改", tags = {"管理后台"})
public R edit(@RequestBody Banner banner){
bannerService.updateById(banner);
return R.ok();
}
@GetMapping("/detail")
- @ApiOperation(value = "详情", tags = {"后台-广告管理-banner管理"})
+ @ApiOperation(value = "广告管理-banner管理-详情", tags = {"管理后台"})
public R detail(@RequestParam Integer id){
Banner byId = bannerService.getById(id);
return R.ok(byId);
}
@GetMapping("/page/list")
- @ApiOperation(value = "列表", tags = {"后台-广告管理--banner"})
+ @ApiOperation(value = "广告管理-banner-列表", tags = {"管理后台"})
public R<Page<Banner>> pagelist(String name, Integer jumpType, Integer position,Integer pageNum,Integer pageSize){
Page<Banner> page = bannerService.lambdaQuery().like(StringUtils.isNotEmpty(name), Banner::getName, name)
.eq(jumpType!=null,Banner::getJumpType, jumpType)
--
Gitblit v1.7.1