chore: update log content

This commit is contained in:
JustSong 2025-01-31 20:16:56 +08:00
parent 0bab887b2d
commit 4f68f3e1b3

View File

@ -32,7 +32,7 @@ func PostConsumeQuota(ctx context.Context, tokenId int, quotaDelta int64, totalQ
}
// totalQuota is total quota consumed
if totalQuota != 0 {
logContent := fmt.Sprintf("%.2f × %.2f", modelRatio, groupRatio)
logContent := fmt.Sprintf("倍率:%.2f × %.2f", modelRatio, groupRatio)
model.RecordConsumeLog(ctx, &model.Log{
UserId: userId,
ChannelId: channelId,