Explorar o código

fix:生成pdf的bug修复

Roc %!s(int64=3) %!d(string=hai) anos
pai
achega
a723e09fb9
Modificáronse 1 ficheiros con 1 adicións e 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