thinkphp无法访问模块是怎么回事 5
<?php//本类由系统自动生成,仅供测试用途classIndexActionextendsAction{publicfunctionindex(){//echo"哈哈哈...
<?php
// 本类由系统自动生成,仅供测试用途
class IndexAction extends Action {
public function index(){
//echo "哈哈哈!!!";
$this->display();
}
public function show(){
//echo "欢迎你".$_GET['name']."!!!";
$this->display();
}
}
只能访问index方法对应的模块,不能访问show方法模块,求大神解答?
错误提示
FILE: F:\AppServ\www\fuxi\7\3\thinkphp\Common\functions.php
LINE: 112
ThinkPHP3.1.3 { Fast & Simple OOP PHP Framework } -- [ WE CAN DO IT JUST THINK ] 展开
// 本类由系统自动生成,仅供测试用途
class IndexAction extends Action {
public function index(){
//echo "哈哈哈!!!";
$this->display();
}
public function show(){
//echo "欢迎你".$_GET['name']."!!!";
$this->display();
}
}
只能访问index方法对应的模块,不能访问show方法模块,求大神解答?
错误提示
FILE: F:\AppServ\www\fuxi\7\3\thinkphp\Common\functions.php
LINE: 112
ThinkPHP3.1.3 { Fast & Simple OOP PHP Framework } -- [ WE CAN DO IT JUST THINK ] 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询