| | |
| | | |
| | | 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; |
| | |
| | | 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"); |
| | | } |
| | | |
| | | } |