From 1aaa39259b1634f990e763b1fb8a8d82e7dbdedf Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Tue, 18 May 2021 17:48:26 +0800 Subject: [PATCH] 20210518 --- src/main/java/com/xcong/excoin/modules/otc/controller/ViewController.java | 25 +++++++++++++++++++++++++ 1 files changed, 25 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 a74a309..867960b 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 @@ -2,11 +2,15 @@ import com.xcong.excoin.common.entity.FebsConstant; import com.xcong.excoin.common.utils.FebsUtil; +import com.xcong.excoin.modules.member.vo.MemberAuthenticationVo; import com.xcong.excoin.modules.otc.service.OtcService; +import com.xcong.excoin.modules.otc.vo.OtcAppealInfoVo; import lombok.RequiredArgsConstructor; import org.apache.shiro.authz.annotation.RequiresPermissions; import org.springframework.stereotype.Controller; +import org.springframework.ui.Model; import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestMapping; @Controller("otcView") @@ -24,6 +28,7 @@ public String otcShopList() { return FebsUtil.view("modules/otc/otcShopList"); } + /** * 获取委托单列表 */ @@ -34,6 +39,15 @@ } /** + * 获取订单列表 + */ + @GetMapping("otcOrderList") + @RequiresPermissions("otcOrderList:view") + public String otcOrderList() { + return FebsUtil.view("modules/otc/otcOrderList"); + } + + /** * 获取申诉列表 */ @GetMapping("otcAppealList") @@ -42,4 +56,15 @@ return FebsUtil.view("modules/otc/otcAppealList"); } + /** + * 获取申诉列表--详情 + */ + @GetMapping("otcAppealInfo/{id}") + @RequiresPermissions("otcAppealInfo:update") + public String otcAppealInfo(@PathVariable long id, Model model) { + OtcAppealInfoVo data = otcService.otcAppealInfo(id); + model.addAttribute("member", data); + return FebsUtil.view("modules/otc/otcAppealInfo"); + } + } -- Gitblit v1.9.1