function login(){
//display();没有参数,那么获得的模板名称与当前操作方法名称一致
//display('hello');有参数的话;找到的地址是:Admin/View/Manage/hello. html
$this->display();
}
地址访问如下:
http://域名/项目名/index.php/模块/控制器/操作方法/
例如:http://www.abcd.com/shop/index.php/Admin/Manage/login/
进行更多交流
微信扫描关注“公众号”