|
@@ -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)){
|