From 8c7c2cadd5ec68b66b9a0c6afc0434c4513c1135 Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Tue, 23 Jun 2020 14:55:36 +0800 Subject: [PATCH] 20200623 代码提交 --- src/main/java/com/xcong/excoin/modules/systemSetting/controller/ViewController.java | 39 +++++++++++++++++++++++++++++++++++++++ 1 files changed, 39 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/xcong/excoin/modules/systemSetting/controller/ViewController.java b/src/main/java/com/xcong/excoin/modules/systemSetting/controller/ViewController.java index 8a3c3fe..d5c2b92 100644 --- a/src/main/java/com/xcong/excoin/modules/systemSetting/controller/ViewController.java +++ b/src/main/java/com/xcong/excoin/modules/systemSetting/controller/ViewController.java @@ -3,6 +3,7 @@ import com.xcong.excoin.common.entity.FebsConstant; import com.xcong.excoin.common.utils.FebsUtil; import com.xcong.excoin.modules.systemSetting.entity.PlatformBannerEntity; +import com.xcong.excoin.modules.systemSetting.entity.PlatformNoticeEntity; import com.xcong.excoin.modules.systemSetting.entity.PlatformSymbolsSkuEntity; import com.xcong.excoin.modules.systemSetting.entity.PlatformTradeSettingEntity; import com.xcong.excoin.modules.systemSetting.service.SystemSettingService; @@ -87,4 +88,42 @@ return FebsUtil.view("modules/systemSetting/platformBannerDetail"); } + /** + * 轮播图---新增 + */ + @GetMapping("platformBannerAdd") + @RequiresPermissions("platformBannerAdd:add") + public String platformBannerAdd() { + return FebsUtil.view("modules/systemSetting/platformBannerAdd"); + } + + /** + * 公告管理---列表 + */ + @GetMapping("noticeManage") + @RequiresPermissions("noticeManage:view") + public String noticeManage() { + return FebsUtil.view("modules/systemSetting/noticeManage"); + } + + /** + * 公告管理---修改 + */ + @GetMapping("noticeManageUpdate/{id}") + @RequiresPermissions("noticeManageUpdate:update") + public String noticeManageUpdate(@PathVariable long id, Model model) { + PlatformNoticeEntity data = systemSettingService.selectNoticeManageById(id); + model.addAttribute("member", data); + return FebsUtil.view("modules/systemSetting/noticeManageDetail"); + } + + /** + * 公告管理---新增 + */ + @GetMapping("noticeManageAdd") + @RequiresPermissions("noticeManageAdd:add") + public String noticeManageAdd() { + return FebsUtil.view("modules/systemSetting/noticeManageAdd"); + } + } -- Gitblit v1.9.1