广告调整
This commit is contained in:
@@ -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'];
|
||||
|
||||
/**
|
||||
* 不允许自动填充模型字段
|
||||
|
||||
@@ -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'];
|
||||
|
||||
/**
|
||||
* 不允许自动填充模型字段
|
||||
|
||||
Reference in New Issue
Block a user