<?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');
}
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
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