使用 Cache

This commit is contained in:
iVampireSP.com 2023-02-28 21:37:23 +08:00
parent 88a299bbd2
commit e23c0e7e9f
No known key found for this signature in database
GPG Key ID: 2F7B001CA27A8132

View File

@ -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',