去掉无效日志

This commit is contained in:
2025-12-02 16:19:56 +08:00
parent bdf74652b3
commit da2c296c05

View File

@@ -3,7 +3,6 @@ package feed
import ( import (
"context" "context"
"errors" "errors"
"fmt"
"strconv" "strconv"
"git.huangwc.com/pig/pig-farm-controller/internal/app/controller" "git.huangwc.com/pig/pig-farm-controller/internal/app/controller"
@@ -271,7 +270,7 @@ func (c *RecipeController) GenerateRecipeWithPrioritizedStockRawMaterials(ctx ec
func (c *RecipeController) AIDiagnoseRecipe(ctx echo.Context) error { func (c *RecipeController) AIDiagnoseRecipe(ctx echo.Context) error {
reqCtx, logger := logs.Trace(ctx.Request().Context(), c.ctx, "AIDiagnoseRecipe") reqCtx, logger := logs.Trace(ctx.Request().Context(), c.ctx, "AIDiagnoseRecipe")
const actionType = "AI点评配方" const actionType = "AI点评配方"
fmt.Println("xxx")
// 从路径参数中获取配方ID // 从路径参数中获取配方ID
recipeIDStr := ctx.Param("id") recipeIDStr := ctx.Param("id")
recipeID, err := strconv.ParseUint(recipeIDStr, 10, 32) recipeID, err := strconv.ParseUint(recipeIDStr, 10, 32)