From 82e1a44ceea7617eff64eadb3c02f21837676ebd Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Wed, 22 Jul 2020 11:38:45 +0800 Subject: [PATCH] 20200722 代码提交 --- src/main/java/com/xcong/excoin/modules/systemSetting/controller/ViewController.java | 69 ++++++++++++++++++++++++++++++++++ 1 files changed, 69 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..f8ac7c6 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 @@ -2,7 +2,9 @@ import com.xcong.excoin.common.entity.FebsConstant; import com.xcong.excoin.common.utils.FebsUtil; +import com.xcong.excoin.modules.systemSetting.entity.AppVersionEntity; 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 +89,71 @@ 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"); + } + + /** + * 版本管理---列表 + */ + @GetMapping("appVersionManage") + @RequiresPermissions("appVersionManage:view") + public String appVersionManage() { + return FebsUtil.view("modules/systemSetting/appVersionManage"); + } + + /** + * 版本管理---修改 + */ + @GetMapping("appVersionUpdate/{id}") + @RequiresPermissions("appVersionUpdate:update") + public String appVersionUpdate(@PathVariable long id, Model model) { + AppVersionEntity data = systemSettingService.selectAppVersionById(id); + model.addAttribute("member", data); + return FebsUtil.view("modules/systemSetting/appVersionDetail"); + } + + /** + * 版本管理---新增 + */ + @GetMapping("appVersionAdd") + @RequiresPermissions("appVersionAdd:add") + public String appVersionAdd() { + return FebsUtil.view("modules/systemSetting/appVersionAdd"); + } + } -- Gitblit v1.9.1