From baca5fca6114f8b88dd5df913fba857b15d97549 Mon Sep 17 00:00:00 2001 From: liuyu <33367671@qq.com> Date: Mon, 1 Aug 2022 18:39:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B9=E6=B3=95=E5=90=8D=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- control/index.php | 2 +- model/mOrder.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/control/index.php b/control/index.php index 9794580..036dcb0 100644 --- a/control/index.php +++ b/control/index.php @@ -27,7 +27,7 @@ class index extends publicBase { if ($type == 'sales_volume') { $list = $obj->getSumData($uid, $shop_id, $day); } elseif ($type == 'refund') { - $list = $obj->getRedundCountData($uid, $shop_id, $day); + $list = $obj->getRefundCountData($uid, $shop_id, $day); } $this->ajax_json(true, 'succ', $list); diff --git a/model/mOrder.php b/model/mOrder.php index 7089f55..a78439b 100644 --- a/model/mOrder.php +++ b/model/mOrder.php @@ -328,7 +328,7 @@ class mOrder extends mBase { return $date2sum; } - public function getRedundCountData($uid, $shop_id, $day=7) { + public function getRefundCountData($uid, $shop_id, $day=7) { $default_date = date("Y-m-d"); if ($day == 7) {