From 3cfb5e7db3ac52d3a63f06a59543f0900b119217 Mon Sep 17 00:00:00 2001 From: chaosBreaking Date: Sat, 28 Sep 2019 10:29:04 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20fundController=E6=B1=87=E7=8E=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/fund/fund.controller.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/modules/fund/fund.controller.js b/src/modules/fund/fund.controller.js index 4f196ba..77687ec 100644 --- a/src/modules/fund/fund.controller.js +++ b/src/modules/fund/fund.controller.js @@ -17,12 +17,12 @@ const actionFilter = 'id type amount detail op createdAt tokenType'; const depositCoinsList = [{ id: 'usdtETH', label: 'usdt', - rate: '1' + rate: '100' }]; const withdrawCoinsList = [{ id: 'vic', label: 'vic', - fee: 0.005 + fee: 0.005, }, { id: 'usdt', label: 'usdt', @@ -181,7 +181,7 @@ module.exports = { mylog.error(err); return null; }); - data = fund && fund.tokenAddress; + data = fund && fund.tokenAddress ? fund.tokenAddress : ''; } return data ? res.json({ code: 0,