Przeglądaj źródła

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

kevinElken 7 miesięcy temu
rodzic
commit
4b7486e8aa
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      common/libs/export/BaseExport.php

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

@@ -836,7 +836,7 @@ ORDER;
 //        }
 //        }
             $image_file = \Yii::$app->basePath . '/../ngds-logo.jpg';
             $image_file = \Yii::$app->basePath . '/../ngds-logo.jpg';
             $image = file_get_contents($image_file);
             $image = file_get_contents($image_file);
-
+            LoggerTool::debug(['result1' => 111]);
             $pdf->Image('@' . $image, 15, 12, 20, 7, 'JPG');
             $pdf->Image('@' . $image, 15, 12, 20, 7, 'JPG');
             $pdf->writeHTML($context);
             $pdf->writeHTML($context);
             $result = $pdf->Output($realFile, 'F');
             $result = $pdf->Output($realFile, 'F');