TP框架关联模型报错 SQLSTATE[42S22]: Column not found: 1054 Unknown column 'Attr_id' in 'where clause' 需要去你模型关联的模型,添加一个 Attr_id 字段