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