瀏覽代碼

协议pdf生成-debug

whitefang 2 年之前
父節點
當前提交
a8be6decfb
共有 1 個文件被更改,包括 1 次插入0 次删除
  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);
             mkdir ('./public/'.$path,0777,true);
         }
         }
         $shell_ = 'wkhtmltopdf --page-height 297mm '.$url.' '.'public/'.$path.$pdf;
         $shell_ = 'wkhtmltopdf --page-height 297mm '.$url.' '.'public/'.$path.$pdf;
+        dd($shell_);
         shell_exec($shell_);
         shell_exec($shell_);
         $agreement = MasterWorkerAgree::where('code', $code)->findOrEmpty();
         $agreement = MasterWorkerAgree::where('code', $code)->findOrEmpty();
         $agreement->pdf_url = $path.$pdf;
         $agreement->pdf_url = $path.$pdf;