仿照渲染后台首页下的index控制器中的代码

Original 2019-04-11 12:32:38 145
abstract:<?phpnamespace app\admin\controller;use think\Controller;class Index extends Controller{    public function index(){        return $this->fetch();    } &n

<?php
namespace app\admin\controller;
use think\Controller;
class Index extends Controller
{
   public function index(){
       return $this->fetch();
   }
   //欢迎界面模板
   public function welcome()
   {
       return $this->fetch();
   }
}

Correcting teacher:查无此人Correction time:2019-04-11 14:33:22
Teacher's summary:完成的不错。渲染页面后,记得要多研究功能。继续加油

Release Notes

Popular Entries