Helius
2020-06-17 165140b4d6b9c7cd05ec70d96f35e065c751623e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package com.xcong.excoin.modules.contract.controller;
 
import com.xcong.excoin.common.entity.FebsConstant;
import com.xcong.excoin.common.utils.FebsUtil;
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;
 
/**
 * @author wzy
 * @date 2020-06-16
 **/
@Controller("contract")
@RequestMapping(FebsConstant.VIEW_PREFIX + "/contract")
public class ViewController {
 
    @GetMapping("holdList")
    @RequiresPermissions("hold:view")
    public String holdList() {
        return FebsUtil.view("modules/contract/hold-list");
    }
}