ppt制作用户基础信息日志
This commit is contained in:
parent
e5f4458c63
commit
cb051e55a1
|
|
@ -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"})
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue