刘桂岩 3 年之前
父節點
當前提交
f495318f96
共有 1 個文件被更改,包括 1 次插入3 次删除
  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'] : '';