声明翻译的多语言

This commit is contained in:
2025-05-22 17:02:26 +08:00
parent 246929ca6b
commit 9405c96677
2 changed files with 7 additions and 1 deletions
@@ -47,7 +47,7 @@ class BrandBannerTranslationModel extends Model
/**
* 允许自动填充模型字段
*/
protected $fillable = ['id', 'brand_id', 'banner_id', 'alt', 'created_at', 'updated_at'];
protected $fillable = ['id', 'brand_id', 'banner_id', 'alt', 'locale', 'created_at', 'updated_at'];
/**
* 不允许自动填充模型字段