| | |
| | | package com.xcong.excoin.modules.yunding.controller; |
| | | |
| | | import com.xcong.excoin.common.entity.FebsConstant; |
| | | import com.xcong.excoin.common.entity.FebsResponse; |
| | | import com.xcong.excoin.common.entity.QueryRequest; |
| | | import com.xcong.excoin.common.utils.FebsUtil; |
| | | import com.xcong.excoin.modules.documentary.entity.FollowTraderProfitInfoEntity; |
| | | import com.xcong.excoin.modules.yunding.service.IBasicSettingService; |
| | | import lombok.RequiredArgsConstructor; |
| | | import org.apache.shiro.authz.annotation.RequiresPermissions; |
| | | import org.springframework.stereotype.Controller; |
| | | import org.springframework.ui.Model; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PathVariable; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | |
| | | import java.util.Map; |
| | | |
| | | @Controller("yundingView") |
| | | @RequestMapping(FebsConstant.VIEW_PREFIX + "modules/yunding") |
| | |
| | | |
| | | private final IBasicSettingService basicSettingService; |
| | | |
| | | public static long idFromMember; |
| | | |
| | | /** |
| | | * 订单查询 |
| | | * 产品订单查询 |
| | | * @return |
| | | */ |
| | | @GetMapping("yundingOrderList") |
| | | @RequiresPermissions("yundingOrderList:view") |
| | | public String memberOrderList() { |
| | | return FebsUtil.view("modules/yunding/yundingOrderList"); |
| | | } |
| | | /** |
| | | * 代理订单查询 |
| | | * @return |
| | | */ |
| | | @GetMapping("agentOrderList") |
| | | @RequiresPermissions("agentOrderList:view") |
| | | public String agentOrderList() { |
| | | return FebsUtil.view("modules/yunding/agentOrderList"); |
| | | } |
| | | |
| | | /** |
| | |
| | | public String ydMemberList() { |
| | | return FebsUtil.view("modules/yunding/ydMemberList"); |
| | | } |
| | | |
| | | /** |
| | | * 会员算力查询---返利记录 |
| | | */ |
| | | @GetMapping("seeAgentReturn/{id}") |
| | | public String seeAgentReturn(@PathVariable long id, Model model) { |
| | | idFromMember = id; |
| | | return FebsUtil.view("modules/yunding/seeAgentReturn"); |
| | | } |
| | | /** |
| | | * 会员算力查询---挖矿详情 |
| | | */ |
| | | @GetMapping("seeReturn/{id}") |
| | | public String seeReturn(@PathVariable long id, Model model) { |
| | | idFromMember = id; |
| | | return FebsUtil.view("modules/yunding/seeReturn"); |
| | | } |
| | | /** |
| | | * 会员算力查询---订单详情 |
| | | */ |
| | | @GetMapping("seeOrder/{id}") |
| | | public String seeOrder(@PathVariable long id, Model model) { |
| | | idFromMember = id; |
| | | return FebsUtil.view("modules/yunding/seeOrder"); |
| | | } |
| | | |
| | | } |