返利:修改返利逻辑
This commit is contained in:
@@ -372,7 +372,7 @@ export async function rebateHistoryOrder(roleId: string, uid: number) {
|
||||
return { id, count: result }
|
||||
});
|
||||
await sendMailByContent(MAIL_TYPE.REBATE, roleId, { goods, params: [`${totalPay}`, `${gold}`] });
|
||||
await HistoryOrderModel.receive(user.channelId, roleId);
|
||||
await HistoryOrderModel.receive(historyOrder._id, roleId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user