刘桂岩 3 years ago
parent
commit
f495318f96
1 changed files with 1 additions and 3 deletions
  1. 1 3
      application/inter/controller/Writereport.php

+ 1 - 3
application/inter/controller/Writereport.php

@@ -114,9 +114,7 @@ class Writereport extends Base
             $info['report_result'] = $report['report_result'] ?? null;
             $info['report_id'] = $report['id'] ?? null;
             $info['qr_code'] = $report['qr_code'] ?? null;
-            var_dump($doctor['id']);
-            var_dump($report['id']);
-            $cache_key = $doctor['id'].'_'.$report['id'] ?? null;
+            $cache_key = $doctor['id'].'_'.($report['id'] ?? null);
             if(Cache::get($cache_key)){
                 $cache = Cache::get($cache_key);
                 $info['description'] = isset($cache['description']) ? $cache['description'] : '';