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