|
@@ -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);
|