diff --git a/market/controllers/api/sylive/GroupsCustomer.php b/market/controllers/api/sylive/GroupsCustomer.php index 2d1197e0..14d473b8 100644 --- a/market/controllers/api/sylive/GroupsCustomer.php +++ b/market/controllers/api/sylive/GroupsCustomer.php @@ -209,7 +209,7 @@ class groupsCustomer extends BaseController } } } - $count = $this->mdSyliveOrder->count($where); + $count = $this->mdSyliveCustomer->count($where); if ($limit >= 10000 && $count > 10000) { $this->return_json('导出失败,每次导出不能超出10000条数据'); } @@ -334,4 +334,4 @@ class groupsCustomer extends BaseController } } -} \ No newline at end of file +}