瀏覽代碼

更新准考证功能

zmw 3 周之前
父節點
當前提交
1e889f27da
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/Jobs/TicketJob.php

+ 1 - 1
app/Jobs/TicketJob.php

@@ -512,7 +512,7 @@ class TicketJob implements ShouldQueue
     }
 
     protected function fetch($data, $template, $type, $recruit = null){
-        $templateProcessor = new TemplateProcessor(base_path() . $template);
+        $templateProcessor = new TemplateProcessor(base_path() . "/storage/app/public/" . $template);
         foreach ($data as $k => $v){
             if($k == 'avatar'){
                 if(file_exists(base_path() . '/public/' . $v)){