去掉无效日志
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user