From b19853edd3597d45a608cf34b2dce87466dd5307 Mon Sep 17 00:00:00 2001 From: chenzhi Date: Wed, 27 Jan 2021 14:00:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=8F=9C=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Admin/Controller/TestingResourceController.class.php | 3 ++- Application/Admin/View/Index/index.html | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Application/Admin/Controller/TestingResourceController.class.php b/Application/Admin/Controller/TestingResourceController.class.php index 7be46a84f..62eb047d1 100644 --- a/Application/Admin/Controller/TestingResourceController.class.php +++ b/Application/Admin/Controller/TestingResourceController.class.php @@ -243,7 +243,7 @@ class TestingResourceController extends ThinkController $this->assign('records', $records); $this->display(); } - public function dailyCountTip() + public function indexDailyCountTip() { $tipApply = 10000; $params = [ @@ -303,6 +303,7 @@ class TestingResourceController extends ThinkController $this->assign('count', $count); $this->assign('_page', $pagination); $this->assign('records', $records); + dd(__MENU__); $this->display(); } protected function setDailyCountWhere($params) diff --git a/Application/Admin/View/Index/index.html b/Application/Admin/View/Index/index.html index e602b0d54..6cb2c4c37 100644 --- a/Application/Admin/View/Index/index.html +++ b/Application/Admin/View/Index/index.html @@ -342,7 +342,7 @@ this.setDayKey(); this.getLocalIgnoe(); - var url = "{:U('TestingResource/dailyCountTip')}"; + var url = "{:U('TestingResource/indexDailyCountTip')}"; $.get(url,function(rep){ console.log(rep) if(rep.status == 1){