This commit is contained in:
2025-07-09 16:53:45 +08:00
parent 1108489423
commit f3b4740244
6 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ class AdModel extends Model
/**
* 允许自动填充模型字段
*/
protected $fillable = ['id', 'adp_id', 'img', 'price', 'href', 'status', 'sort', 'creater', 'created_at', 'updated_at'];
protected $fillable = ['id', 'adp_id', 'type', 'img', 'price', 'href', 'status', 'sort', 'creater', 'created_at', 'updated_at'];
/**
* 不允许自动填充模型字段