From f0597ced9695860f2f0ad501da1d21a0bf9010cc Mon Sep 17 00:00:00 2001 From: lccsw <1127794702@qq.com> Date: Mon, 25 Oct 2021 16:11:10 +0800 Subject: [PATCH] edit-api-static --- api/controllers/wxapp/licheb/Statistics.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }