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