Переглянути джерело

fix:生成pdf的bug修复

Roc 3 роки тому
батько
коміт
a723e09fb9
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      services/contract/contract_approval.go

+ 1 - 1
services/contract/contract_approval.go

@@ -727,7 +727,7 @@ func AfterApproved(contractId int) (err error) {
 
 		//word转pdf
 		converterType := "pdf"
-		pdfPath, tmpErr := services.FuncDocs2Pdf(utils.LibreOfficePath, wordPath, "./static/word", converterType)
+		pdfPath, tmpErr := services.FuncDocs2Pdf(utils.LibreOfficePath, wordPath, "./static", converterType)
 		if tmpErr != nil {
 			err = tmpErr
 			return