广告调整

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