fix: 更改fund的有效期为50天
This commit is contained in:
@@ -251,7 +251,7 @@ module.exports = {
|
||||
]);
|
||||
// 计算昨日收益
|
||||
let revenueLastday = calRevenueLastday(actions);
|
||||
// 筛选有效矿晶
|
||||
// 筛选有效矿晶
|
||||
let activeFund = getActiveFund(fund.fundList);
|
||||
return res.json({
|
||||
code: 0,
|
||||
@@ -259,9 +259,9 @@ module.exports = {
|
||||
data: {
|
||||
list: newFund.fundList,
|
||||
basic: {
|
||||
activeFund,
|
||||
revenueLastday,
|
||||
revenueAll: newFund.asset['vic']
|
||||
activeFund, //有效矿晶
|
||||
revenueLastday, // 昨日收益
|
||||
revenueAll: newFund.asset['vic'] // 累计总收益
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user