模型缓存功能加回
This commit is contained in:
parent
0b6f55b429
commit
e6266edc07
@ -12,7 +12,10 @@ declare(strict_types=1);
|
|||||||
namespace App\Model;
|
namespace App\Model;
|
||||||
|
|
||||||
use Hyperf\DbConnection\Model\Model as BaseModel;
|
use Hyperf\DbConnection\Model\Model as BaseModel;
|
||||||
|
use Hyperf\ModelCache\Cacheable;
|
||||||
|
use Hyperf\ModelCache\CacheableInterface;
|
||||||
|
|
||||||
abstract class Model extends BaseModel
|
abstract class Model extends BaseModel implements CacheableInterface
|
||||||
{
|
{
|
||||||
|
use Cacheable;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user