|
@@ -21,7 +21,8 @@ async function writePurchaseLedger(orderId, userUuid, addCount, logger) {
|
|
|
balanceBefore: beforeCount,
|
|
balanceBefore: beforeCount,
|
|
|
balanceAfter: afterCount,
|
|
balanceAfter: afterCount,
|
|
|
bizType: 'purchase',
|
|
bizType: 'purchase',
|
|
|
- bizId: orderId
|
|
|
|
|
|
|
+ bizId: orderId,
|
|
|
|
|
+ remark: `订单号:${orderId}`
|
|
|
})
|
|
})
|
|
|
} catch (error) {
|
|
} catch (error) {
|
|
|
logger?.error?.(`写入购买次数流水失败 ${orderId}: ${error.stack || error}`)
|
|
logger?.error?.(`写入购买次数流水失败 ${orderId}: ${error.stack || error}`)
|