TP5.1企业站后面首页index控制器代码

Original 2019-05-08 22:19:19 185
abstract:<?phpnamespace app\admin\controller;use think\Controller;class Index extends Controller{    public function index()    {        return $this->fetch(); &nb

<?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-05-09 14:26:54
Teacher's summary:后台, 用到了框架, 所以要渲染二个页面 要注意

Release Notes

Popular Entries