mirror of
				https://github.com/songquanpeng/one-api.git
				synced 2025-11-04 07:43:41 +08:00 
			
		
		
		
	chore: update log content
This commit is contained in:
		@@ -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,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user