方法不存在:app\index\controller\Index->type()
<?php
namespace app\index\controller;
use think\Request;
class Index
{
public function index(Request $request)
{
//http://localhost/TP4/public/index/index/Index/type/5.html?id=10
dump($request->param());
}
}