fix: 修改订单号参数类型为interface

This commit is contained in:
renzhiyuan 2025-12-27 15:33:11 +08:00
parent 41e128683d
commit b02b988c5d
1 changed files with 2 additions and 0 deletions

View File

@ -10,6 +10,7 @@ import (
"context" "context"
"strings" "strings"
"github.com/gofiber/fiber/v2/log"
"github.com/ollama/ollama/api" "github.com/ollama/ollama/api"
) )
@ -27,6 +28,7 @@ func (f *WithSys) CreatePrompt(ctx context.Context, rec *entitys.Recognize) (mes
) )
// 获取用户内容,如果出错则直接返回错误 // 获取用户内容,如果出错则直接返回错误
content, err := f.getUserContent(ctx, rec) content, err := f.getUserContent(ctx, rec)
log.Infof("生成prompt:%s", content)
if err != nil { if err != nil {
return nil, err return nil, err
} }