From e23c0e7e9fda121d22257751fd3e70b7c854e635 Mon Sep 17 00:00:00 2001 From: "iVampireSP.com" Date: Tue, 28 Feb 2023 21:37:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=BF=E7=94=A8=20Cache?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Models/Subscription.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/Models/Subscription.php b/app/Models/Subscription.php index 0dcd65e..e3f2897 100644 --- a/app/Models/Subscription.php +++ b/app/Models/Subscription.php @@ -3,11 +3,14 @@ namespace App\Models; use App\Exceptions\User\BalanceNotEnoughException; +use GeneaLabs\LaravelModelCaching\Traits\Cachable; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; class Subscription extends Model { + use Cachable; + public $fillable = [ 'name', 'status',