Browse Source

更新准考证功能

zmw 3 weeks ago
parent
commit
1e889f27da
1 changed files with 1 additions and 1 deletions
  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){
     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){
         foreach ($data as $k => $v){
             if($k == 'avatar'){
             if($k == 'avatar'){
                 if(file_exists(base_path() . '/public/' . $v)){
                 if(file_exists(base_path() . '/public/' . $v)){