Update userBalance.service.js

This commit is contained in:
vastxie 2024-03-17 23:40:00 +08:00 committed by GitHub
parent 5d977eb82c
commit 798361b11f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -328,9 +328,9 @@ let UserBalanceService = class UserBalanceService {
const { weight } = pkgInfo;
if (!userBalanceInfo.packageId) {
params = {
memberModel3Count: model3Count + balance.model3Count,
memberModel4Count: model4Count + balance.model4Count,
memberDrawMjCount: drawMjCount + balance.drawMjCount,
memberModel3Count: memberModel3Count + balance.model3Count,
memberModel4Count: memberModel4Count + balance.model4Count,
memberDrawMjCount: memberDrawMjCount + balance.drawMjCount,
expirationTime: (0, date_1.default)()
.add(days > 0 ? days : 0, 'day')
.format('YYYY-MM-DD HH:mm:ss'),