fix: 更改fund的有效期为50天

This commit is contained in:
chaosBreaking
2019-09-28 16:18:57 +08:00
parent 6f4c73ff35
commit 9b2fe61d84
3 changed files with 11 additions and 25 deletions

View File

@@ -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'] // 累计总收益
}
}
});