From 952b26d869da3d3228cec922359b5380cabdc6fa Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Fri, 11 Nov 2022 10:15:53 +0800
Subject: [PATCH] 20221021

---
 src/main/resources/templates/error/403.html                         |    2 +-
 src/main/resources/templates/index.html                             |    2 +-
 src/main/java/cc/mrbird/febs/common/runner/FebsStartedUpRunner.java |    4 ++--
 src/main/resources/templates/error/404.html                         |    2 +-
 src/main/resources/templates/febs/views/dapp/money-change-flow.html |   38 ++++++++++++++++++++++++++++----------
 src/main/resources/templates/error/500.html                         |    2 +-
 src/main/resources/templates/febs/views/layout.html                 |    2 +-
 src/main/resources/templates/febs/views/login.html                  |    4 ++--
 8 files changed, 37 insertions(+), 19 deletions(-)

diff --git a/src/main/java/cc/mrbird/febs/common/runner/FebsStartedUpRunner.java b/src/main/java/cc/mrbird/febs/common/runner/FebsStartedUpRunner.java
index 74572f8..ee9ccea 100644
--- a/src/main/java/cc/mrbird/febs/common/runner/FebsStartedUpRunner.java
+++ b/src/main/java/cc/mrbird/febs/common/runner/FebsStartedUpRunner.java
@@ -44,7 +44,7 @@
             log.error("| |_   / /\\  | | | |");
             log.error("|_|   /_/--\\ |_| |_|__");
             log.error("                        ");
-            log.error("WEM启动失败,{}", e.getMessage());
+            log.error("DMD启动失败,{}", e.getMessage());
             log.error("Redis连接异常,请检查Redis连接配置并确保Redis服务已启动");
             // 关闭 FEBS
             context.close();
@@ -63,7 +63,7 @@
             log.info("/ /`  / / \\ | |\\/| | |_) | |   | |_   | |  | |_  ");
             log.info("\\_\\_, \\_\\_/ |_|  | |_|   |_|__ |_|__  |_|  |_|__ ");
             log.info("                                                      ");
-            log.info("WEM 权限系统启动完毕,地址:{}", url);
+            log.info("DMD 权限系统启动完毕,地址:{}", url);
 
             boolean auto = febsProperties.isAutoOpenBrowser();
             if (auto && StringUtils.equalsIgnoreCase(active, FebsConstant.DEVELOP)) {
diff --git a/src/main/resources/templates/error/403.html b/src/main/resources/templates/error/403.html
index f3fdfa6..895ddcb 100644
--- a/src/main/resources/templates/error/403.html
+++ b/src/main/resources/templates/error/403.html
@@ -2,7 +2,7 @@
 <html xmlns:th="http://www.thymeleaf.org">
 <head>
     <meta charset="utf-8">
-    <title>WEM 权限系统</title>
+    <title>DMD 权限系统</title>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
     <meta name="renderer" content="webkit">
     <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
diff --git a/src/main/resources/templates/error/404.html b/src/main/resources/templates/error/404.html
index 7587c70..21818cd 100644
--- a/src/main/resources/templates/error/404.html
+++ b/src/main/resources/templates/error/404.html
@@ -2,7 +2,7 @@
 <html xmlns:th="http://www.thymeleaf.org">
 <head>
     <meta charset="utf-8">
-    <title>WEM 权限系统</title>
+    <title>DMD 权限系统</title>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
     <meta name="renderer" content="webkit">
     <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
diff --git a/src/main/resources/templates/error/500.html b/src/main/resources/templates/error/500.html
index 34437f2..fd43102 100644
--- a/src/main/resources/templates/error/500.html
+++ b/src/main/resources/templates/error/500.html
@@ -2,7 +2,7 @@
 <html xmlns:th="http://www.thymeleaf.org">
 <head>
     <meta charset="utf-8">
-    <title>WEM 权限系统</title>
+    <title>DMD 权限系统</title>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
     <meta name="renderer" content="webkit">
     <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
diff --git a/src/main/resources/templates/febs/views/dapp/money-change-flow.html b/src/main/resources/templates/febs/views/dapp/money-change-flow.html
index 18d85f8..b9ab1ae 100644
--- a/src/main/resources/templates/febs/views/dapp/money-change-flow.html
+++ b/src/main/resources/templates/febs/views/dapp/money-change-flow.html
@@ -67,13 +67,31 @@
         height: auto !important;
     }
 </style>
-<script type="text/html" id="type-format">
+<script type="text/html" id="flow-status">
+    {{#
+    var status = {
+    2: {title: '成功'},
+    1: {title: '进行中'},
+    3: {title: '取消'}
+    }[d.status];
+    }}
+    <span>{{ status.title }}</span>
+</script>
+<script type="text/html" id="flow-type">
     {{#
     var type = {
-    1: {title: '兑换'},
-    2: {title: '提现'},
-    3: {title: '采矿'},
-    4: {title: '代理返利'}
+    1: {title: '买入'},
+    2: {title: '矩阵收益'},
+    3: {title: '直推收益'},
+    4: {title: '保险池'},
+    5: {title: '提现'},
+    6: {title: '手续费充值'},
+    7: {title: '手续费扣除'},
+    8: {title: '结算'},
+    9: {title: '冻结'},
+    10: {title: '冻结释放'},
+    11: {title: '产矿'},
+    12: {title: '手续费返利'},
     }[d.type];
     }}
     <span>{{ type.title }}</span>
@@ -127,14 +145,14 @@
             tableIns = febs.table.init({
                 elem: $view.find('table'),
                 id: 'moneyChangeTable',
-                url: ctx + 'flow/accountMoneyChangeFlow',
+                url: ctx + 'flow/fundFlow',
                 cols: [[
                     {field: 'address', title: '地址', minWidth: 150},
                     {field: 'preAmount', title: '变化前金额', minWidth: 100},
-                    {field: 'amount', title: '变化金额', minWidth: 100},
-                    {field: 'afterAmount', title: '变化后金额', minWidth: 100},
-                    {field: 'content', title: '描述', minWidth: 130},
-                    {title: '类型', templet: '#type-format'},
+                    {field: 'amount', title: '金额', minWidth: 100},
+                    {title: '类型', templet: '#flow-type'},
+                    {title: '提现状态', templet: '#flow-status'},
+                    {field: 'fee', title: '手续费', minWidth: 130},
                     {field: 'createTime', title: '创建时间', minWidth: 180}
                 ]]
             });
diff --git a/src/main/resources/templates/febs/views/layout.html b/src/main/resources/templates/febs/views/layout.html
index 15403d3..0f1b7ab 100644
--- a/src/main/resources/templates/febs/views/layout.html
+++ b/src/main/resources/templates/febs/views/layout.html
@@ -63,7 +63,7 @@
         <div class="layui-side-scroll">
             <div class="layui-logo" style="cursor: pointer">
                 <img data-th-src="@{febs/images/logo.png}">
-                <span>WEM 权限系统</span>
+                <span>DMD 权限系统</span>
             </div>
             <script
                     type="text/html"
diff --git a/src/main/resources/templates/febs/views/login.html b/src/main/resources/templates/febs/views/login.html
index bcab112..0acbe04 100644
--- a/src/main/resources/templates/febs/views/login.html
+++ b/src/main/resources/templates/febs/views/login.html
@@ -2,7 +2,7 @@
 <html xmlns:th="http://www.thymeleaf.org">
 <head>
     <meta charset="utf-8">
-    <title>WEM 权限系统</title>
+    <title>DMD 权限系统</title>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
     <meta name="renderer" content="webkit">
     <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
@@ -19,7 +19,7 @@
         <div class="layui-container">
             <div class="layui-row">
                 <div class="layui-col-xs12 layui-col-lg4 layui-col-lg-offset4 febs-tc">
-                    <div class="layui-logo"><span><b>WEM</b> 权限系统</span></div>
+                    <div class="layui-logo"><span><b>DMD</b> 权限系统</span></div>
                 </div>
                 <div class="layui-col-xs12 layui-col-lg4 layui-col-lg-offset4" id="login-div">
                     <div class="layui-form" lay-filter="login-form">
diff --git a/src/main/resources/templates/index.html b/src/main/resources/templates/index.html
index 1ecf978..1c5d577 100644
--- a/src/main/resources/templates/index.html
+++ b/src/main/resources/templates/index.html
@@ -3,7 +3,7 @@
       xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
 <head>
     <meta charset="utf-8">
-    <title>WEM 权限系统</title>
+    <title>DMD 权限系统</title>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
     <meta name="renderer" content="webkit">
     <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

--
Gitblit v1.9.1