diff --git a/api/controllers/wxapp/licheb/Statistics.php b/api/controllers/wxapp/licheb/Statistics.php index 47b9645b..482e8b55 100644 --- a/api/controllers/wxapp/licheb/Statistics.php +++ b/api/controllers/wxapp/licheb/Statistics.php @@ -376,7 +376,7 @@ class Statistics extends Wxapp{ $where['c_time<='] = strtotime($e_time); } $admin_id && $where['admin_id'] = $admin_id; - $setValue['value'] = $this->customers_model->count($where); + $setValue['value'] = $this->orders_model->count($where); $custom[] = $setValue; }