fix: fundController汇率
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user