fix: asset

This commit is contained in:
chaosBreaking
2019-10-28 11:05:34 +08:00
parent 094a859f62
commit 590b2b5c0a
3 changed files with 8 additions and 8 deletions

4
cn.js
View File

@@ -63,13 +63,13 @@ const doReward = async (user, fund) => {
userId: user.id,
tokenType: 'vic',
amount: rewardMine,
remain: fund.asset
remain: fund.vicFundSum
}).save();
rewardInvite > 0 && createAction(2, {
userId: user.id,
tokenType: 'vic',
amount: rewardInvite,
remain: fund.asset
remain: fund.vicFundSum
}).save();
});
};