优化菜单

master
chenzhi 4 years ago
parent 13d0c6fa59
commit b19853edd3

@ -243,7 +243,7 @@ class TestingResourceController extends ThinkController
$this->assign('records', $records); $this->assign('records', $records);
$this->display(); $this->display();
} }
public function dailyCountTip() public function indexDailyCountTip()
{ {
$tipApply = 10000; $tipApply = 10000;
$params = [ $params = [
@ -303,6 +303,7 @@ class TestingResourceController extends ThinkController
$this->assign('count', $count); $this->assign('count', $count);
$this->assign('_page', $pagination); $this->assign('_page', $pagination);
$this->assign('records', $records); $this->assign('records', $records);
dd(__MENU__);
$this->display(); $this->display();
} }
protected function setDailyCountWhere($params) protected function setDailyCountWhere($params)

@ -342,7 +342,7 @@
this.setDayKey(); this.setDayKey();
this.getLocalIgnoe(); this.getLocalIgnoe();
var url = "{:U('TestingResource/dailyCountTip')}"; var url = "{:U('TestingResource/indexDailyCountTip')}";
$.get(url,function(rep){ $.get(url,function(rep){
console.log(rep) console.log(rep)
if(rep.status == 1){ if(rep.status == 1){

Loading…
Cancel
Save