yingzi 1 rok pred
rodič
commit
c1dba7a24b

+ 0 - 1
Cache/FinanceCache.Class.php

@@ -160,7 +160,6 @@ class FinanceCache
     public function getAllSalesOutReceive() {
         $data = [];
         $keysList = $this->cache->keys($this->salesOutReceiveKey.'*');
-        var_dump($keysList);
         foreach ($keysList as $value) {
             $keyArr = explode('::', $value);
             $result = $this->cache->zrangebyscore($this->salesOutReceiveKey.'::'.$keyArr[2], 0,  time(),array('withscores' => TRUE));

+ 4 - 0
Mall/Framework/Cache/AbstractStorage.Class.php

@@ -20,9 +20,13 @@ abstract class AbstractStorage implements StorageInterface
         $prefix = FALSE;
 
         if ($this->options['prefix']) {
+            var_dump($this->options['prefix']);
             $prefix = str_replace(':', '', $this->options['prefix']) . ':';
+            
         }
 
         $this->prefix = $prefix ?: $this->prefix;
+        
+        var_dump($this->prefix);
     }
 }

+ 0 - 1
Mall/Framework/Cache/Redis.Class.php

@@ -576,7 +576,6 @@ class Redis extends Storage
     public function keys($key)
     {
         $key = $this->prefix . $key;
-        var_dump($key);
         return $this->resource->keys($key);
     }