是否包邮

This commit is contained in:
2025-12-15 18:30:24 +08:00
parent d14659aa75
commit 6febb05d7f
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ class Post extends Model
/**
* 允许自动填充模型字段
*/
protected $fillable = ['id', 'user_id', 'category_id', 'sku_id', 'content', 'shop_name', 'location_name', 'latitude', 'longitude', 'status', 'sort', 'like', 'favorite', 'comment', 'browse', 'created_at', 'updated_at', 'price', 'age'];
protected $fillable = ['id', 'user_id', 'category_id', 'sku_id', 'content', 'shop_name', 'location_name', 'latitude', 'longitude', 'status', 'sort', 'like', 'favorite', 'comment', 'is_free', 'model', 'browse', 'created_at', 'updated_at', 'price', 'age'];
/**
* 不允许自动填充模型字段