fix: dalle log 显示张数 N

This commit is contained in:
Xyfacai
2025-09-10 19:53:32 +08:00
parent 27a0a447d0
commit cda73a2ec5
2 changed files with 7 additions and 8 deletions

View File

@@ -120,7 +120,7 @@ func ImageHelper(c *gin.Context, info *relaycommon.RelayInfo) (newAPIError *type
var logContent string
if len(request.Size) > 0 {
logContent = fmt.Sprintf("大小 %s, 品质 %s", request.Size, quality)
logContent = fmt.Sprintf("大小 %s, 品质 %s, 张数 %d", request.Size, quality, request.N)
}
postConsumeQuota(c, info, usage.(*dto.Usage), logContent)