修改订单统计
This commit is contained in:
@@ -37,7 +37,7 @@ class Orders extends HD_Controller
|
||||
$count = $this->receiver_orders_model->count(['status' => $key]);
|
||||
$status_arr[] = array("id" => $key, "name" => $value, "cate" => [], "count" => $count);
|
||||
}
|
||||
$params['count_all'] = $this->receiver_orders_model->count();//全部
|
||||
$params['count_all'] = $this->receiver_orders_model->count(['status>=' => 0]);//全部
|
||||
$params['list_type'] = 'all';
|
||||
$result = $this->orderslist->lists($params['status_pid'], $params);
|
||||
$this->data = $result;
|
||||
|
||||
Reference in New Issue
Block a user