Browse Source

fix:生成pdf的bug修复

Roc 3 years ago
parent
commit
a723e09fb9
1 changed files with 1 additions and 1 deletions
  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