From 6ed309c5a80c36e752bfd799cbaba7665cf7364b Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Fri, 14 May 2021 17:31:02 +0800
Subject: [PATCH] 20210514 云顶
---
src/main/java/com/xcong/excoin/modules/yunding/controller/ViewController.java | 46 +++++++++++++++++++++++++++++++++++++++++++++-
1 files changed, 45 insertions(+), 1 deletions(-)
diff --git a/src/main/java/com/xcong/excoin/modules/yunding/controller/ViewController.java b/src/main/java/com/xcong/excoin/modules/yunding/controller/ViewController.java
index 895a871..1cf344a 100644
--- a/src/main/java/com/xcong/excoin/modules/yunding/controller/ViewController.java
+++ b/src/main/java/com/xcong/excoin/modules/yunding/controller/ViewController.java
@@ -1,13 +1,20 @@
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")
@@ -16,14 +23,25 @@
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");
}
/**
@@ -45,4 +63,30 @@
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");
+ }
+
}
--
Gitblit v1.9.1