From a3f86d22b6b9d5ab4a335488ddaf8edf3aa5f787 Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Thu, 03 Jun 2021 16:45:08 +0800 Subject: [PATCH] modify --- src/main/java/com/xcong/excoin/modules/otc/controller/ViewController.java | 23 +++++++++++++++++++++++ 1 files changed, 23 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/xcong/excoin/modules/otc/controller/ViewController.java b/src/main/java/com/xcong/excoin/modules/otc/controller/ViewController.java index 2f63c3d..b246d9f 100644 --- a/src/main/java/com/xcong/excoin/modules/otc/controller/ViewController.java +++ b/src/main/java/com/xcong/excoin/modules/otc/controller/ViewController.java @@ -5,6 +5,7 @@ import com.xcong.excoin.modules.member.vo.MemberAuthenticationVo; import com.xcong.excoin.modules.otc.entity.OtcMarketBussinessEntity; import com.xcong.excoin.modules.otc.entity.OtcOrderEntity; +import com.xcong.excoin.modules.otc.entity.OtcSettingEntity; import com.xcong.excoin.modules.otc.service.OtcService; import com.xcong.excoin.modules.otc.vo.OtcAppealInfoVo; import lombok.RequiredArgsConstructor; @@ -91,4 +92,26 @@ return FebsUtil.view("modules/otc/otcHuiKuan"); } + /** + * 获取OTC设置 + */ + @GetMapping("otcSettingList") + @RequiresPermissions("otcSettingList:view") + public String otcSettingList() { + return FebsUtil.view("modules/otc/otcSettingList"); + } + + /** + * OTC设置--详情 + */ + @GetMapping("otcSettingUpdate/{id}") + @RequiresPermissions("otcSettingUpdate:update") + public String otcSettingUpdate(@PathVariable long id, Model model) { + OtcSettingEntity data = otcService.otcSettingUpdate(id); + model.addAttribute("member", data); + return FebsUtil.view("modules/otc/otcSettingUpdate"); + } + + + } -- Gitblit v1.9.1