| #81 | $this->link->set($this->pre.'_l2_cache_time', xn_json_encode($l2_cache_time)); |
| #82 | } |
| #83 | |
| #84 | if($life>0){ |
| #85 | $this->link->set($this->pre.$l2_key.'_time', xn_json_encode($l2_cache_time),$life); // 把最后更新数据微秒时间写入缓存 |
| #86 | return $this->link->set($this->pre.$l2_key, xn_json_encode($keys), $life); |
| #87 | }else{ |
| #88 | $this->link->set($this->pre.$l2_key.'_time', xn_json_encode($l2_cache_time)); // 把最后更新数据微秒时间写入缓存 |
| #89 | return $this->link->set($this->pre.$l2_key, xn_json_encode($keys)); |
| #90 | } |