Update questionnaireSurvey.go

This commit is contained in:
JNG 2026-03-11 19:48:44 +08:00
parent 3e953cc04d
commit 03983189f6

View File

@ -9,7 +9,6 @@ import (
"fonchain-fiee/pkg/service/bundle/model"
"fonchain-fiee/pkg/service/upload"
"fonchain-fiee/pkg/utils"
"os"
"time"
"github.com/gin-gonic/gin"
@ -109,8 +108,11 @@ func QuestionnaireSurveyCreate(c *gin.Context) {
service.Error(c, err)
return
}
os.Remove(outputPath)
fmt.Println("333333333333333333")
outputUrl, ossErr := upload.PutBos(outputPath, upload.PdfType, true)
fmt.Println("outputUrl======================>>>>", outputUrl)
fmt.Println("ossErr======================>>>>", ossErr)
if ossErr != nil {
service.Error(c, err)
return