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 = [{
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,