From 99335c9291eeae811531835da3766356a5aa733c Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Tue, 18 May 2021 16:26:47 +0800
Subject: [PATCH] 20210518  委托单

---
 src/main/java/com/xcong/excoin/modules/otc/controller/ViewController.java |   41 +++++++++++++++++++++++++++++++++++++++++
 1 files changed, 41 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 0e01896..a74a309 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
@@ -1,4 +1,45 @@
 package com.xcong.excoin.modules.otc.controller;
 
+import com.xcong.excoin.common.entity.FebsConstant;
+import com.xcong.excoin.common.utils.FebsUtil;
+import com.xcong.excoin.modules.otc.service.OtcService;
+import lombok.RequiredArgsConstructor;
+import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.stereotype.Controller;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.RequestMapping;
+
+@Controller("otcView")
+@RequestMapping(FebsConstant.VIEW_PREFIX + "modules/otc")
+@RequiredArgsConstructor
 public class ViewController {
+
+    private final OtcService otcService;
+
+    /**
+     * 获取商户审核列表
+     */
+    @GetMapping("otcShopList")
+    @RequiresPermissions("otcShopList:view")
+    public String otcShopList() {
+        return FebsUtil.view("modules/otc/otcShopList");
+    }
+    /**
+     * 获取委托单列表
+     */
+    @GetMapping("otcEntrustList")
+    @RequiresPermissions("otcEntrustList:view")
+    public String otcEntrustList() {
+        return FebsUtil.view("modules/otc/otcEntrustList");
+    }
+
+    /**
+     * 获取申诉列表
+     */
+    @GetMapping("otcAppealList")
+    @RequiresPermissions("otcAppealList:view")
+    public String otcAppealList() {
+        return FebsUtil.view("modules/otc/otcAppealList");
+    }
+
 }

--
Gitblit v1.9.1