摘要: ->with(['refundProduct.product','merchant'=>function(BaseQuery $query){ $query->field(['mer_id','mer_phone']); }]) 如上所示,with关联查询 merchant 数据时, 如果直接指定一 阅读全文
posted @ 2023-02-06 10:53 fianl507 阅读(158) 评论(0) 推荐(0) 编辑