摘要:<?phpnamespace app\admin\controller;use think\Controller;use think\facade\Session;use app\admin\controller\Coomn;class Index extends Coomn{//渲染index页面 public function index() &nb
<?php
namespace app\admin\controller;
use think\Controller;
use think\facade\Session;
use app\admin\controller\Coomn;
class Index extends Coomn
{
//渲染index页面
public function index()
{
return $this->fetch();
}
//渲染主页面
public function welcome()
{
return $this->fetch();
}
}
批改老师:查无此人批改时间:2019-05-17 09:38:39
老师总结:完成的不错。首页的html代码,怎么没上传?继续加油吧。