Explorar el Código

fix:生成pdf的bug修复

Roc hace 3 años
padre
commit
a723e09fb9
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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