dever 6 năm trước cách đây
mục cha
commit
20a4ad3a09
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      main/src/Content.php

+ 2 - 2
main/src/Content.php

@@ -149,11 +149,11 @@ class Content extends Core
         $key = 'test_';
 
         for($i=0; $i<= 10000;$i++) {
-            $this->redis->set($key . $i, $i, $expire);
+            $redis->set($key . $i, $i, $expire);
         }
 
         for($i=0; $i<= 10000;$i++) {
-            $data[] = $this->redis->get($key . $i);
+            $data[] = $redis->get($key . $i);
         }
 
         print_r($data);die;