网站和渲染后台

原创 2019-01-26 03:32:22 269
摘要:<?phpnamespace app\admin\controller;use think\Controller;use think\facade\Session;use think\facade\Request;use app\admin\controller\Common;class Index extends Common{ //主界面  和 获取管理员名字  &n

<?php

namespace app\admin\controller;

use think\Controller;

use think\facade\Session;

use think\facade\Request;

use app\admin\controller\Common;

class Index extends Common

{

//主界面  和 获取管理员名字

    public function index()

    {

    $username = Session::get('username');

    $this->view->assign('username',$username);

        return $this->fetch();       

        

    }


        public function welcome()

    {

        return $this->fetch();

        

    }

}


批改老师:韦小宝批改时间:2019-01-26 09:25:29
老师总结:你这怎么一下提交了这么多作业 是积累起来的么 写的很不错

发布手记

热门词条