liyinglin 2 years ago
parent c5fba78588
commit f7bd773ed1

@ -8,9 +8,7 @@ use Illuminate\Support\Facades\Auth;
class Product extends SoftDeletesModel
{
protected $table = "product";
protected $casts = ['factor_item_ids' => 'json'];
protected static function booted()
{
static::addGlobalScope(new AdminProjectScope());

Loading…
Cancel
Save