Compare commits
No commits in common. "bc01771f79265324e5b986f1d84f82b1831d1afd" and "6c9a519663b08156f9b03ae9f013afe16d90c868" have entirely different histories.
bc01771f79
...
6c9a519663
@ -12,7 +12,6 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/gin-gonic/gin"
|
||||
"github.com/google/uuid"
|
||||
)
|
||||
|
||||
func IsSendSurvey(c *gin.Context) {
|
||||
@ -74,7 +73,7 @@ func QuestionnaireSurveyCreate(c *gin.Context) {
|
||||
return
|
||||
}
|
||||
templateDir := "./data/满意度调成报告模板.pdf"
|
||||
outputPath := "/data/" + "questionnaire_" + uuid.NewString() + ".pdf"
|
||||
outputPath := "/data/questionnaire/" + req.UserTel + time.Now().Format("20060102150405") + ".pdf"
|
||||
err = utils.QuestionnaireSurveyPDF(templateDir, outputPath, &model.QuestionnairePDFData{
|
||||
//CustomerNum: surveyInfo.BundleInfo.,
|
||||
CustomerName: surveyInfo.UserName,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user