There is an error in article_list. I don't know why, but the banner can be displayed correctly.
宝肚
宝肚 2018-06-07 22:43:01
0
2
1470

QQ浏览器截屏未命名.png

<?php

 use app\admin\common\Base;

 use think\Request;


 class Article extends Base

 {

     /**

* Display resource list

*

* @return \think\Response

*/


     public function index()

     {

         //

         return $this -> view -> fetch('article_list');


     }


宝肚
宝肚

reply all(2)
无忌哥哥

Open APP_DEBUG to view specific error reports

亚连

I don't remember that template rendering is written in this way. Looking at the TP5 manual, it is recommended to use the view() helper function. O(∩_∩)O

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template