Helius
2020-07-15 d8d2cfd30edf712f42b64db7df14894109768bc1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
package com.xcong.excoin.modules.trademanage.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-10
 **/
@Controller("tradeManageView")
@RequestMapping(FebsConstant.VIEW_PREFIX + "modules/trademanage")
public class ViewController {
 
    /**
     * 当前持仓
     */
    @GetMapping("contractHoldOrder")
    @RequiresPermissions("contractHoldOrder:view")
    public String contractHoldOrder() {
        return FebsUtil.view("modules/trademanage/contractHoldOrder");
    }
    
    /**
     * 账户信息
     * @return
     */
    @GetMapping("accountInfo")
    @RequiresPermissions("accountInfo:view")
    public String accountInfo() {
        return FebsUtil.view("modules/trademanage/accountInfo");
    }
    
    /**
     * 返佣明细
     * @return
     */
    @GetMapping("agentReturnInfo")
    @RequiresPermissions("agentReturnInfo:view")
    public String agentReturnInfo() {
        return FebsUtil.view("modules/trademanage/agentReturnInfo");
    }
    
    /**
     * 返佣总明细
     * @return
     */
    @GetMapping("agentReturnInfos")
    @RequiresPermissions("agentReturnInfos:view")
    public String agentReturnInfos() {
        return FebsUtil.view("modules/trademanage/agentReturnInfos");
    }
    
    /**
     * 历史委托明细
     * @return
     */
    @GetMapping("historyOrder")
    @RequiresPermissions("historyOrder:view")
    public String historyOrder() {
        return FebsUtil.view("modules/trademanage/historyOrder");
    }
    
    /**
     * 全部历史委托明细
     * @return
     */
    @GetMapping("historyOrderAll")
    @RequiresPermissions("historyOrderAll:view")
    public String historyOrderAll() {
        return FebsUtil.view("modules/trademanage/historyOrderAll");
    }
    
}