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