|
@@ -1525,6 +1525,7 @@ class IndexController extends WebBaseController
|
|
|
//$filename = $date . '_' . $appoint_info->realname . '_' . $appoint_info->card . '_' . $post_data[$appoint_info->post_id];
|
|
|
$filename = sha1($date . '_' . $appoint_info->realname . '_' . $appoint_info->card . '_' . $post_data[$appoint_info->post_id]);
|
|
|
$file = base_path() . "/storage/app/public/recruit/ticket/pdf/{$date}/{$name}/pen/" . $filename . '.pdf';
|
|
|
+
|
|
|
if(file_exists($file)){
|
|
|
header('Content-Description: File Transfer');
|
|
|
header('Content-Type: application/octet-stream');
|