Browse Source

增加上机准考证生成

sandm 1 year ago
parent
commit
9171752763
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Http/Controllers/Web/Recruit/IndexController.php

+ 1 - 1
app/Http/Controllers/Web/Recruit/IndexController.php

@@ -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');