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");
|
}
|
|
}
|