likang 1 年之前
父节点
当前提交
a7b621f5ad
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      catch/api/service/dispose.php

+ 4 - 4
catch/api/service/dispose.php

@@ -441,10 +441,10 @@ public function get_label_history($type,$mac,$label){
     }
     if($type==3){
         debug_log("InAndOUT","清空头部和尾部历史:".$mac." ".$label);
-        $this->redis->delHash($key,$head);
-        $this->redis->delHash($key,$tail);
-        $this->redis->delHash($key,$frontMaxKey);
-        $this->redis->delHash($key, $backMaxKey);
+        $this->delHash($key,$head);
+        $this->delHash($key,$tail);
+        $this->delHash($key,$frontMaxKey);
+        $this->delHash($key, $backMaxKey);
     }
     if($type==4){
         $frontMax= $this->selectHash($key,$frontMaxKey);