This commit is contained in:
2025-05-23 13:59:10 +08:00
parent a5a50ae7fc
commit b69a9fdb24
3 changed files with 14 additions and 2 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ class BrandModel extends Model
/**
* 允许自动填充模型字段
*/
protected $fillable = ['id', 'status', 'sort', 'toppic', 'descpic', 'logo', 'letter', 'created_at', 'updated_at'];
protected $fillable = ['id', 'status', 'sort', 'toppic', 'descpic', 'logo', 'letter', 'is_hot', 'created_at', 'updated_at'];
/**
* 不允许自动填充模型字段