fix: 刷新接口修复
This commit is contained in:
@@ -219,7 +219,7 @@ module.exports = {
|
||||
code: 0,
|
||||
data: fund.fundList
|
||||
});
|
||||
const { hasNew, list } = fund.hasNewDeposit();
|
||||
const { hasNew, list } = await fund.hasNewDeposit();
|
||||
if (!hasNew) {
|
||||
const [ start, end ] = getDate(1);
|
||||
const actions = await Action.find({ userId, type: 1, createdAt: { $gt: start, $lt: end } });
|
||||
|
||||
Reference in New Issue
Block a user