| | |
| | | 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"); |
| | | } |
| | | |
| | | } |
| | | 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");
|
| | | }
|
| | | |
| | | /**
|
| | | * 当前持仓---alone
|
| | | */
|
| | | @GetMapping("contractHoldOrderAlone")
|
| | | @RequiresPermissions("contractHoldOrderAlone:view")
|
| | | public String contractHoldOrderAlone() {
|
| | | return FebsUtil.view("modules/trademanage/contractHoldOrderAlone");
|
| | | }
|
| | | |
| | | /**
|
| | | * 账户信息
|
| | | * @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");
|
| | | }
|
| | | |
| | | /**
|
| | | * 历史委托明细---alone
|
| | | * @return
|
| | | */
|
| | | @GetMapping("historyOrderAlone")
|
| | | @RequiresPermissions("historyOrderAlone:view")
|
| | | public String historyOrderAlone() {
|
| | | return FebsUtil.view("modules/trademanage/historyOrderAlone");
|
| | | }
|
| | | |
| | | /**
|
| | | * 全部历史委托明细
|
| | | * @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");
|
| | | }
|
| | | |
| | | }
|