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 |    3 +--
 1 files changed, 1 insertions(+), 2 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 dd0362d..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);

--
Gitblit v1.9.1