소스 검색

bugfix: EK-0524: 结算后台无法下载PDF订单.

kevinElken 9 달 전
부모
커밋
0ff8791bff
1개의 변경된 파일1개의 추가작업 그리고 4개의 파일을 삭제
  1. 1 4
      common/libs/export/BaseExport.php

+ 1 - 4
common/libs/export/BaseExport.php

@@ -582,10 +582,7 @@ class BaseExport extends Component {
             throw new Exception('无法获取需要的参数');
         }
         $path = __DS__ . $this->getSaveBasePath() . __DS__ . $this->getSavePath();
-
-        LoggerTool::debug([$path => $path]);
-
-        $realFile = $path . __DS__ . $this->getFileName('.pdf');
+        $realFile = $this->mkdir($path) . __DS__ . $this->getFileName('.pdf');
 
         $this->completed = false;
         $this->getExportId();