|
@@ -1567,7 +1567,7 @@ class IndexController extends WebBaseController
|
|
|
$date = date("Y-m-d",strtotime($recruit->created_at));
|
|
|
//$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}/face/" . $filename . '.pdf';
|
|
|
+ $file = base_path() . "/storage/app/public/recruit/ticket/pdf/{$date}/{$name}/computer/" . $filename . '.pdf';
|
|
|
if(file_exists($file)){
|
|
|
header('Content-Description: File Transfer');
|
|
|
header('Content-Type: application/octet-stream');
|