From 0830a387f0c28c2d448714ad184fd0c17bf27ea9 Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Tue, 25 May 2021 10:30:50 +0800 Subject: [PATCH] 20210525 回款 --- src/main/java/com/xcong/excoin/modules/otc/controller/ViewController.java | 39 +++++++++++++++++++++++++++++++++++++++ 1 files changed, 39 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 4fa9d6f..2f63c3d 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,17 @@ 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.entity.OtcMarketBussinessEntity; +import com.xcong.excoin.modules.otc.entity.OtcOrderEntity; 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") @@ -44,6 +50,17 @@ } /** + * 获取订单列表--详情 + */ + @GetMapping("otcOrderInfo/{id}") + @RequiresPermissions("otcOrderInfo:update") + public String otcOrderInfo(@PathVariable long id, Model model) { + OtcOrderEntity data = otcService.otcOrderInfo(id); + model.addAttribute("member", data); + return FebsUtil.view("modules/otc/otcOrderInfo"); + } + + /** * 获取申诉列表 */ @GetMapping("otcAppealList") @@ -52,4 +69,26 @@ 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"); + } + + /** + * 商户回款 + */ + @GetMapping("otcHuiKuan/{id}") + @RequiresPermissions("otcHuiKuan:update") + public String otcHuiKuan(@PathVariable long id, Model model) { + OtcMarketBussinessEntity data = otcService.otcHuiKuan(id); + model.addAttribute("member", data); + return FebsUtil.view("modules/otc/otcHuiKuan"); + } + } -- Gitblit v1.9.1