From c71c6700fce7f3f66a62b7215a0e46fc5af91104 Mon Sep 17 00:00:00 2001
From: wzy <wzy19931122ai@163.com>
Date: Sun, 28 Aug 2022 20:43:35 +0800
Subject: [PATCH] fix
---
src/main/java/cc/mrbird/febs/dapp/service/impl/DappSystemServiceImpl.java | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/main/java/cc/mrbird/febs/dapp/service/impl/DappSystemServiceImpl.java b/src/main/java/cc/mrbird/febs/dapp/service/impl/DappSystemServiceImpl.java
index 7025db9..26a0afe 100644
--- a/src/main/java/cc/mrbird/febs/dapp/service/impl/DappSystemServiceImpl.java
+++ b/src/main/java/cc/mrbird/febs/dapp/service/impl/DappSystemServiceImpl.java
@@ -721,7 +721,6 @@
public boolean systemHasStart() {
String hasStart = redisUtils.getString(AppContants.SYSTEM_START_FLAG);
if (!"start".equals(hasStart)) {
- log.info("系统未启动");
return false;
}
@@ -769,7 +768,7 @@
BigDecimal totalFee = new BigDecimal(jsonObject.getString("fee"));
String batchNo = RandomUtil.randomString(16);
- BigDecimal cardProfit = totalFee.multiply(new BigDecimal("0.5"));
+ BigDecimal cardProfit = totalFee.multiply(new BigDecimal("0.4"));
BigDecimal destroy = totalFee.subtract(cardProfit);
BigDecimal preFee = cardProfit.divide(BigDecimal.valueOf(5000), ChainService.getInstance(ChainEnum.BSC_TFC.name()).decimals(), RoundingMode.HALF_UP);
@@ -783,7 +782,7 @@
if (member == null) {
continue;
}
- DappFundFlowEntity fundFlow = new DappFundFlowEntity(member.getId(), amount, 4, 1, null, null);
+ DappFundFlowEntity fundFlow = new DappFundFlowEntity(member.getId(), amount, 4, 2, null, null);
dappFundFlowDao.insert(fundFlow);
OnlineTransferUtil.addTransfer(entry.getKey(), amount, 5, 1, ChainEnum.BSC_TFC_FEE.name(), AppContants.SYMBOL_COIN, batchNo);
--
Gitblit v1.9.1