访问器方法名中包含的字段不能和数据库字段名同名?
同名的话,访问器似乎不起如何作用
添加新属性记得
protected $appends = ['img2'];
获取某字段值
$this->id
推荐文章: