Przeglądaj źródła

协议pdf生成-debug

whitefang 1 rok temu
rodzic
commit
a8be6decfb
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      app/common/command/AddAgreementPdf.php

+ 1 - 0
app/common/command/AddAgreementPdf.php

@@ -60,6 +60,7 @@ class AddAgreementPdf extends Command
             mkdir ('./public/'.$path,0777,true);
         }
         $shell_ = 'wkhtmltopdf --page-height 297mm '.$url.' '.'public/'.$path.$pdf;
+        dd($shell_);
         shell_exec($shell_);
         $agreement = MasterWorkerAgree::where('code', $code)->findOrEmpty();
         $agreement->pdf_url = $path.$pdf;