|
@@ -229,7 +229,7 @@ class TicketJob implements ShouldQueue
|
|
|
$templateProcessor = new TemplateProcessor(base_path() . $template);
|
|
|
foreach ($data as $k => $v){
|
|
|
if($k == 'avatar'){
|
|
|
- $templateProcessor->setImageValue('avatar',['path' => 'http://www.jucai.gov.cn/'.$v, 'width' => 200, 'height' => 150]);
|
|
|
+ $templateProcessor->setImageValue('avatar',['path' => base_path() . '/public/' . $v, 'width' => 200, 'height' => 150]);
|
|
|
}else{
|
|
|
$templateProcessor->setValue($k, $v);
|
|
|
}
|