From d306aea9e5608c55f273f8d7d111efd569ae0f1e Mon Sep 17 00:00:00 2001 From: CalciumIon <1808837298@qq.com> Date: Fri, 5 Jul 2024 17:22:36 +0800 Subject: [PATCH] feat: log mj task id --- relay/relay-mj.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/relay/relay-mj.go b/relay/relay-mj.go index 54d76ed..1fba81f 100644 --- a/relay/relay-mj.go +++ b/relay/relay-mj.go @@ -500,7 +500,7 @@ func RelayMidjourneySubmit(c *gin.Context, relayMode int) *dto.MidjourneyRespons } if quota != 0 { tokenName := c.GetString("token_name") - logContent := fmt.Sprintf("模型固定价格 %.2f,分组倍率 %.2f,操作 %s", modelPrice, groupRatio, midjRequest.Action) + logContent := fmt.Sprintf("模型固定价格 %.2f,分组倍率 %.2f,操作 %s,ID %s", modelPrice, groupRatio, midjRequest.Action, midjResponse.Result) other := make(map[string]interface{}) other["model_price"] = modelPrice other["group_ratio"] = groupRatio