thinkphp6 request参数读取,原来是这么读取的,研究了好久
//dump($request);
//dump($request->rule());
//dump($request->rule()->getOption('middleware')['0']['0']); //这个变量读取太困难了哈哈
//dump($request->rule()->getVars()['name']);
dump($request->param('name'));
//dump($request->method());