Merge branch 'jng-QuestionnairePDF-0311' into dev
This commit is contained in:
commit
f3d8488da1
@ -9,7 +9,6 @@ import (
|
|||||||
"fonchain-fiee/pkg/service/bundle/model"
|
"fonchain-fiee/pkg/service/bundle/model"
|
||||||
"fonchain-fiee/pkg/service/upload"
|
"fonchain-fiee/pkg/service/upload"
|
||||||
"fonchain-fiee/pkg/utils"
|
"fonchain-fiee/pkg/utils"
|
||||||
"os"
|
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
@ -109,8 +108,11 @@ func QuestionnaireSurveyCreate(c *gin.Context) {
|
|||||||
service.Error(c, err)
|
service.Error(c, err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
os.Remove(outputPath)
|
fmt.Println("333333333333333333")
|
||||||
outputUrl, ossErr := upload.PutBos(outputPath, upload.PdfType, true)
|
outputUrl, ossErr := upload.PutBos(outputPath, upload.PdfType, true)
|
||||||
|
|
||||||
|
fmt.Println("outputUrl======================>>>>", outputUrl)
|
||||||
|
fmt.Println("ossErr======================>>>>", ossErr)
|
||||||
if ossErr != nil {
|
if ossErr != nil {
|
||||||
service.Error(c, err)
|
service.Error(c, err)
|
||||||
return
|
return
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user