[积分商城]收获地址管理-优化
This commit is contained in:
@@ -52,7 +52,9 @@ class Address extends Backend
|
||||
*/
|
||||
list($where, $alias, $limit, $order) = $this->queryBuilder();
|
||||
$res = $this->model
|
||||
->withJoin($this->withJoinTable, $this->withJoinType)
|
||||
->with(['mallUser' => function ($query) {
|
||||
$query->field('id,username');
|
||||
}])
|
||||
->visible(['mallUser' => ['username']])
|
||||
->alias($alias)
|
||||
->where($where)
|
||||
|
||||
Reference in New Issue
Block a user