belongsTo('app\model\Files','img','id')->bind(['path']); } //新增属性的方法 }