fix(log): rename OrderId to OrderNo for consistency in balance logging

This commit is contained in:
Chang lue Tsen
2025-09-05 10:25:19 -04:00
parent d0d03e724e
commit 1d878592ed
9 changed files with 25 additions and 14 deletions
@@ -413,7 +413,7 @@ func (l *PurchaseCheckoutLogic) balancePayment(u *user.User, o *order.Order) err
balanceLog := &log.Balance{
Amount: balanceUsed,
Type: log.BalanceTypePayment, // Type 3 represents payment deduction
OrderId: o.Id,
OrderNo: o.OrderNo,
Balance: userInfo.Balance,
Timestamp: time.Now().UnixMilli(),
}