public function action() { //页面展示 $IndexModel = new IndexModel(); $result = $IndexModel->getResult(); $this->tpl->assign('new_list', $result['data']['list']); $this->tpl->display('index.tpl'); }
public function action() { //页面展示 $IndexModel = new IndexModel(); $result = $IndexModel->getResult(); $this->tpl->assign('new_list', $result['data']['list']); $this->tpl->display('index.tpl'); }