diff --git a/business/userstore/food_recipe.go b/business/userstore/food_recipe.go index 9fd93acf8..1f7218922 100644 --- a/business/userstore/food_recipe.go +++ b/business/userstore/food_recipe.go @@ -71,10 +71,11 @@ func updateFoodRecipeItemAndStep(ctx *jxcontext.Context, db *dao.DaoDB, recipeID for k, v := range stepList { step := &model.FoodRecipeStep{ - RecipeID: recipeID, - Index: int8(k + 1), - Name: v.Name, - Img: v.Img, + RecipeID: recipeID, + Index: int8(k + 1), + Name: v.Name, + Img: v.Img, + Description: v.Description, } dao.WrapAddIDCULDEntity(step, ctx.GetUserName()) if err = dao.CreateEntity(db, step); err != nil {