xiaoyong931011
2021-05-18 9909c23061541816b21d560f765d0a7274fc6323
src/main/java/com/xcong/excoin/modules/otc/controller/ViewController.java
@@ -1,4 +1,28 @@
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");
    }
}