Why do you fill in: url (article/index) instead of: url (article/article_list) when connecting to the information list?
小远
小远 2018-04-26 22:27:47
0
2
1742

Why do you fill in: url (article/index) instead of: url (article/article_list) when connecting to the information list?

小远
小远

reply all(1)
陈磊
//渲染Article时index指向了article_list
class Article extends Base
{
    public function index()
    {
        $this ->fetch('article_list');
    }
}


  • reply 少了return $this ->fetch('article_list');
    陈磊 author 2018-05-10 18:45:47
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template