From 3ea894165b42672d0a9d93341e84fbc9f24f5294 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Wed, 03 Mar 2021 11:39:36 +0800
Subject: [PATCH] 20210321 利润率后台修改,推荐上首页后台设置
---
src/main/java/com/xcong/excoin/modules/documentary/controller/ViewController.java | 47 +++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 47 insertions(+), 0 deletions(-)
diff --git a/src/main/java/com/xcong/excoin/modules/documentary/controller/ViewController.java b/src/main/java/com/xcong/excoin/modules/documentary/controller/ViewController.java
index df03ba8..3a37e51 100644
--- a/src/main/java/com/xcong/excoin/modules/documentary/controller/ViewController.java
+++ b/src/main/java/com/xcong/excoin/modules/documentary/controller/ViewController.java
@@ -11,8 +11,11 @@
import com.xcong.excoin.common.entity.FebsConstant;
import com.xcong.excoin.common.utils.FebsUtil;
import com.xcong.excoin.modules.documentary.entity.FollowTraderInfoEntity;
+import com.xcong.excoin.modules.documentary.entity.FollowTraderLabelEntity;
+import com.xcong.excoin.modules.documentary.mapper.FollowTraderLabelMapper;
import com.xcong.excoin.modules.documentary.service.DocumentaryService;
import com.xcong.excoin.modules.member.entity.MemberEntity;
+import com.xcong.excoin.modules.systemSetting.entity.PlatformTradeSettingEntity;
import lombok.RequiredArgsConstructor;
@Controller("documentaryView")
@@ -22,6 +25,38 @@
private final DocumentaryService documentaryService;
+ private final FollowTraderLabelMapper followTraderLabelMapper;
+
+ /**
+ * 标签设置
+ * @return
+ */
+ @GetMapping("followLabelSet")
+ @RequiresPermissions("followLabelSet:view")
+ public String followLabelSet() {
+ return FebsUtil.view("modules/documentary/followLabelSet");
+ }
+
+ /**
+ * 标签设置---修改
+ */
+ @GetMapping("followLabelSetUpdate/{id}")
+ @RequiresPermissions("followLabelSetUpdate:update")
+ public String followLabelSetUpdate(@PathVariable long id, Model model) {
+ FollowTraderLabelEntity data = followTraderLabelMapper.selectById(id);
+ model.addAttribute("member", data);
+ return FebsUtil.view("modules/documentary/followLabelSetDetail");
+ }
+
+ /**
+ * 标签设置---新增
+ */
+ @GetMapping("followLabelSetAdd")
+ @RequiresPermissions("followLabelSetAdd:add")
+ public String noticeManageAdd() {
+ return FebsUtil.view("modules/documentary/followLabelSetAdd");
+ }
+
/**
* 交易员申请
* @return
@@ -44,4 +79,16 @@
return FebsUtil.view("modules/documentary/traderDetail");
}
+ /**
+ * 交易员收益率修改
+ * @return
+ */
+ @GetMapping("modifyProfitRatio/{id}")
+ @RequiresPermissions("modifyProfitRatio:update")
+ public String modifyProfitRatio(@PathVariable long id, Model model) {
+ FollowTraderInfoEntity data = documentaryService.selectTraderDetailByid(id);
+ model.addAttribute("member", data);
+ return FebsUtil.view("modules/documentary/modifyProfitRatio");
+ }
+
}
--
Gitblit v1.9.1