...
|
...
|
@@ -514,7 +514,7 @@ class Index extends Api |
|
|
->join('seller s', 's.id=a.seller_id')
|
|
|
->join('user u', 'u.id=a.user_id')
|
|
|
->where('s.user_id', $UserId)
|
|
|
->where('a.status', $params['type'])
|
|
|
->where('a.refind_status', $params['type'])
|
|
|
->page($params['pages'], $params['rows'])
|
|
|
->order('id desc')
|
|
|
->field('a.id,a.OrderSn,u.avatar,u.nickname,a.updatetime,a.status')
|
...
|
...
|
@@ -524,7 +524,7 @@ class Index extends Api |
|
|
->join('seller s', 's.id=a.seller_id')
|
|
|
->join('user u', 'u.id=a.user_id')
|
|
|
->where('s.user_id', $UserId)
|
|
|
->where('a.status', $params['type'])
|
|
|
->where('a.refind_status', $params['type'])
|
|
|
->order('id desc')
|
|
|
->field('a.id,a.OrderSn,u.avatar,u.nickname,a.updatetime,a.status')
|
|
|
->select();
|
...
|
...
|
|