商家订单列表支持时间段筛选并修正分页has_more
This commit is contained in:
@@ -85,7 +85,7 @@ class StaffOrderListView(APIView):
|
||||
'msg': '成功',
|
||||
'data': {
|
||||
'list': order_list,
|
||||
'has_more': len(page_qs) == page_size and start + page_size < total_count,
|
||||
'has_more': start + len(page_qs) < total_count,
|
||||
'total': total_count,
|
||||
'pending_count': pending_count,
|
||||
'view_scope': 'all' if staff_can_view_all_orders(member) else 'self',
|
||||
|
||||
Reference in New Issue
Block a user