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