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

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

@@ -114,7 +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;
-            $cache_key = $doctor['id'].'_'.$report['id'] ?? $r['id'];
+            $cache_key = $doctor['id'].'_'.$report['id'] ?? null;
             if(Cache::get($cache_key)){
                 $cache = Cache::get($cache_key);
                 $info['description'] = isset($cache['description']) ? $cache['description'] : '';