diff --git a/app/Models/Product.php b/app/Models/Product.php index 37b64ae..827e5dc 100755 --- a/app/Models/Product.php +++ b/app/Models/Product.php @@ -9,6 +9,8 @@ class Product extends SoftDeletesModel { protected $table = "product"; + protected $casts = ['factor_item_ids' => 'json']; + protected static function booted() { static::addGlobalScope(new AdminProjectScope());