diff --git a/Application/Admin/Controller/TestingResourceController.class.php b/Application/Admin/Controller/TestingResourceController.class.php index 7be46a84f..b5cf5ea88 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 = [ 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){