namespace app\admin\controller;
use think\Controller;
use think\Request;
class Index extends Controller
{
public function index(){
return "这里是index页面";
}
}
情况二:
namespace app\admin\controller;
use think\Controller;
use think\Request;
class Index extends Controller
{
public function index(){
return $this->fetch();
}
}
情况一可以正常显示;情况二提示错误,请问大师是什么原因
最佳答案