xiaoyong931011
2021-03-02 4348e057d9b2894a533ba116e21216610934eef0
src/main/java/com/xcong/excoin/modules/trademanage/controller/ViewController.java
@@ -1,77 +1,295 @@
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");
    }
}
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 {
   /**
     * 历史委托明细---17773261001
     * @return
     */
    @GetMapping("historyOrderInfoAloneOne")
    @RequiresPermissions("historyOrderInfoAloneOne:view")
    public String historyOrderInfoAloneOne() {
       return FebsUtil.view("modules/trademanage/historyOrderInfoAloneOne");
    }
    /**
     * 历史委托明细---17773261002
     * @return
     */
    @GetMapping("historyOrderInfoAloneTwo")
    @RequiresPermissions("historyOrderInfoAloneTwo:view")
    public String historyOrderInfoAloneTwo() {
       return FebsUtil.view("modules/trademanage/historyOrderInfoAloneTwo");
    }
    /**
     * 历史委托明细---17773261003
     * @return
     */
    @GetMapping("historyOrderInfoAloneTee")
    @RequiresPermissions("historyOrderInfoAloneTee:view")
    public String historyOrderInfoAloneTee() {
       return FebsUtil.view("modules/trademanage/historyOrderInfoAloneTee");
    }
    /**
     * 历史委托明细---17773260001
     * @return
     */
    @GetMapping("historyOrderInfoAloneAll")
    @RequiresPermissions("historyOrderInfoAloneAll:view")
    public String historyOrderInfoAloneAll() {
       return FebsUtil.view("modules/trademanage/historyOrderInfoAloneAll");
    }
   /**
     * 账户信息---17773261001
     * @return
     */
    @GetMapping("memberAccountInfoAloneOne")
    @RequiresPermissions("memberAccountInfoAloneOne:view")
    public String memberAccountInfoAloneOne() {
       return FebsUtil.view("modules/trademanage/memberAccountInfoAloneOne");
    }
    /**
     * 账户信息---17773261002
     * @return
     */
    @GetMapping("memberAccountInfoAloneTwo")
    @RequiresPermissions("memberAccountInfoAloneTwo:view")
    public String memberAccountInfoAloneTwo() {
       return FebsUtil.view("modules/trademanage/memberAccountInfoAloneTwo");
    }
    /**
     * 账户信息---17773261003
     * @return
     */
    @GetMapping("memberAccountInfoAloneTee")
    @RequiresPermissions("memberAccountInfoAloneTee:view")
    public String memberAccountInfoAloneTee() {
       return FebsUtil.view("modules/trademanage/memberAccountInfoAloneTee");
    }
    /**
     * 账户信息---17773260001
     * @return
     */
    @GetMapping("memberAccountInfoAloneAll")
    @RequiresPermissions("memberAccountInfoAloneAll:view")
    public String memberAccountInfoAloneAll() {
       return FebsUtil.view("modules/trademanage/memberAccountInfoAloneAll");
    }
   /**
     * 返佣明细---17773261001
     * @return
     */
    @GetMapping("memberAgentReturnInfoAloneOne")
    @RequiresPermissions("memberAgentReturnInfoAloneOne:view")
    public String agentReturnInfoAloneOne() {
        return FebsUtil.view("modules/trademanage/memberAgentReturnInfoAloneOne");
    }
    /**
     * 返佣明细---17773261002
     * @return
     */
    @GetMapping("memberAgentReturnInfoAloneTwo")
    @RequiresPermissions("memberAgentReturnInfoAloneTwo:view")
    public String memberAgentReturnInfoAloneTwo() {
       return FebsUtil.view("modules/trademanage/memberAgentReturnInfoAloneTwo");
    }
    /**
     * 返佣明细---17773261003
     * @return
     */
    @GetMapping("memberAgentReturnInfoAloneTee")
    @RequiresPermissions("memberAgentReturnInfoAloneTee:view")
    public String memberAgentReturnInfoAloneTee() {
       return FebsUtil.view("modules/trademanage/memberAgentReturnInfoAloneTee");
    }
    /**
     * 返佣明细---17773260001
     * @return
     */
    @GetMapping("memberAgentReturnInfoAloneAll")
    @RequiresPermissions("memberAgentReturnInfoAloneAll:view")
    public String memberAgentReturnInfoAloneAll() {
       return FebsUtil.view("modules/trademanage/memberAgentReturnInfoAloneAll");
    }
   /**
     * 当前持仓---17773261001
     */
    @GetMapping("contractHoldOrderAloneOne")
    @RequiresPermissions("contractHoldOrderAloneOne:view")
    public String contractHoldOrderAloneOne() {
       return FebsUtil.view("modules/trademanage/contractHoldOrderAloneOne");
    }
    /**
     * 当前持仓---17773261002
     */
    @GetMapping("contractHoldOrderAloneTwo")
    @RequiresPermissions("contractHoldOrderAloneTwo:view")
    public String contractHoldOrderAloneTwo() {
       return FebsUtil.view("modules/trademanage/contractHoldOrderAloneTwo");
    }
    /**
     * 当前持仓---17773261003
     */
    @GetMapping("contractHoldOrderAloneThree")
    @RequiresPermissions("contractHoldOrderAloneThree:view")
    public String contractHoldOrderAloneThree() {
       return FebsUtil.view("modules/trademanage/contractHoldOrderAloneThree");
    }
    /**
     * 当前持仓---17773260001
     */
    @GetMapping("contractHoldOrderAloneOneAll")
    @RequiresPermissions("contractHoldOrderAloneOneAll:view")
    public String contractHoldOrderAloneOneAll() {
       return FebsUtil.view("modules/trademanage/contractHoldOrderAloneOneAll");
    }
   /**
    * 当前持仓
    */
    @GetMapping("contractHoldOrder")
    @RequiresPermissions("contractHoldOrder:view")
    public String contractHoldOrder() {
        return FebsUtil.view("modules/trademanage/contractHoldOrder");
    }
    /**
     * 当前持仓---alone
     */
    @GetMapping("contractHoldOrderAlone")
    @RequiresPermissions("contractHoldOrderAlone:view")
    public String contractHoldOrderAlone() {
       return FebsUtil.view("modules/trademanage/contractHoldOrderAlone");
    }
    /**
     * 当前持仓---Test
     */
    @GetMapping("contractHoldOrderAloneTest")
    @RequiresPermissions("contractHoldOrderAloneTest:view")
    public String contractHoldOrderAloneTest() {
       return FebsUtil.view("modules/trademanage/contractHoldOrderAloneTest");
    }
    /**
     * 账户信息
     * @return
     */
    @GetMapping("accountInfo")
    @RequiresPermissions("accountInfo:view")
    public String accountInfo() {
        return FebsUtil.view("modules/trademanage/accountInfo");
    }
    /**
     * 账户信息---alone
     * @return
     */
    @GetMapping("accountInfoAlone")
    @RequiresPermissions("accountInfoAlone:view")
    public String accountInfoAlone() {
       return FebsUtil.view("modules/trademanage/accountInfoAlone");
    }
    /**
     * 账户信息---Test
     * @return
     */
    @GetMapping("accountInfoAloneTest")
    @RequiresPermissions("accountInfoAloneTest:view")
    public String accountInfoAloneTest() {
       return FebsUtil.view("modules/trademanage/accountInfoAloneTest");
    }
    /**
     * 返佣明细
     * @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");
    }
    /**
     * 历史委托明细---alone
     * @return
     */
    @GetMapping("historyOrderAlone")
    @RequiresPermissions("historyOrderAlone:view")
    public String historyOrderAlone() {
       return FebsUtil.view("modules/trademanage/historyOrderAlone");
    }
    /**
     * 历史委托明细---Test
     * @return
     */
    @GetMapping("historyOrderAloneTest")
    @RequiresPermissions("historyOrderAloneTest:view")
    public String historyOrderAloneTest() {
       return FebsUtil.view("modules/trademanage/historyOrderAloneTest");
    }
    /**
     * 全部历史委托明细
     * @return
     */
    @GetMapping("historyOrderAll")
    @RequiresPermissions("historyOrderAll:view")
    public String historyOrderAll() {
       return FebsUtil.view("modules/trademanage/historyOrderAll");
    }
    /**
     * 返佣总明细
     * @return
     */
    @GetMapping("agentReturnInfosAlone")
    @RequiresPermissions("agentReturnInfosAlone:view")
    public String agentReturnInfosAlone() {
        return FebsUtil.view("modules/trademanage/agentReturnInfosAlone");
    }
    /**
     * 返佣总明细--Test
     * @return
     */
    @GetMapping("agentReturnInfosAloneTest")
    @RequiresPermissions("agentReturnInfosAloneTest:view")
    public String agentReturnInfosAloneTest() {
       return FebsUtil.view("modules/trademanage/agentReturnInfosAloneTest");
    }
}