模型缓存功能加回

This commit is contained in:
fantasticbin 2022-11-16 11:21:53 +08:00
parent 0b6f55b429
commit e6266edc07

View File

@ -12,7 +12,10 @@ declare(strict_types=1);
namespace App\Model;
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;
}