ppt制作用户基础信息日志

This commit is contained in:
junleea 2025-04-05 13:24:39 +08:00
parent e5f4458c63
commit cb051e55a1
1 changed files with 2 additions and 0 deletions

View File

@ -10,6 +10,7 @@ import (
"fmt" "fmt"
"github.com/gin-gonic/gin" "github.com/gin-gonic/gin"
"io" "io"
"log"
"net/http" "net/http"
"os" "os"
"strconv" "strconv"
@ -491,6 +492,7 @@ func CreateSparkPPTSOutline(c *gin.Context) {
} }
var base proto.SparkCreatePPTBaseInfo var base proto.SparkCreatePPTBaseInfo
base.UserID = userID base.UserID = userID
log.Println("create outline user id:", userID)
outlineResp, err2 := spark.SparkDoCreateOutline(&req, &base) outlineResp, err2 := spark.SparkDoCreateOutline(&req, &base)
if err2 != nil { if err2 != nil {
c.JSON(http.StatusOK, gin.H{"error": "create outline error", "code": proto.ParameterError, "message": "failed"}) c.JSON(http.StatusOK, gin.H{"error": "create outline error", "code": proto.ParameterError, "message": "failed"})