fix: fundController汇率

This commit is contained in:
chaosBreaking
2019-09-28 10:29:04 +08:00
parent de0fbfa7a9
commit 3cfb5e7db3

View File

@@ -17,12 +17,12 @@ const actionFilter = 'id type amount detail op createdAt tokenType';
const depositCoinsList = [{ const depositCoinsList = [{
id: 'usdtETH', id: 'usdtETH',
label: 'usdt', label: 'usdt',
rate: '1' rate: '100'
}]; }];
const withdrawCoinsList = [{ const withdrawCoinsList = [{
id: 'vic', id: 'vic',
label: 'vic', label: 'vic',
fee: 0.005 fee: 0.005,
}, { }, {
id: 'usdt', id: 'usdt',
label: 'usdt', label: 'usdt',
@@ -181,7 +181,7 @@ module.exports = {
mylog.error(err); mylog.error(err);
return null; return null;
}); });
data = fund && fund.tokenAddress; data = fund && fund.tokenAddress ? fund.tokenAddress : '';
} }
return data ? res.json({ return data ? res.json({
code: 0, code: 0,