fix: dalle log 显示张数 N

This commit is contained in:
Xyfacai
2025-09-10 19:53:32 +08:00
parent 271830fc52
commit 451076fa51
2 changed files with 7 additions and 8 deletions
+1 -1
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)