zwxi 10 meses atrás
pai
commit
59bb5a2a5e
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      controllers/smart_report/smart_report.go

+ 1 - 1
controllers/smart_report/smart_report.go

@@ -1559,7 +1559,7 @@ func (this *SmartReportController) GetReportPdfUrl() {
 		}
 	} else {
 		filePath += ".jpeg"
-		err = services.ReportToJpeg(req.ReportUrl, filePath+".jpeg")
+		err = services.ReportToJpeg(req.ReportUrl, filePath)
 		if err != nil {
 			br.Msg = "转换失败"
 			br.ErrMsg = "报告转图片失败,Err:" + err.Error()