wanglizhong
2025-05-05 9b8a7157bb9c401de973a4107f74ff3e723ec156
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?php
class LtCacheTableDataGateway
{
    public $tableName;
 
    public $ch;
 
    public function add($key, $value, $ttl = 0)
    {
        return $this->ch->add($key, $value, $ttl, $this->tableName);
    }
 
    public function del($key)
    {
        return $this->ch->del($key, $this->tableName);
    }
 
    public function get($key)
    {
        return $this->ch->get($key, $this->tableName);
    }
 
    public function update($key, $value, $ttl = 0)
    {
        return $this->ch->update($key, $value, $ttl, $this->tableName);
    }
}