think\route\RuleGroup文件中设定了// 分组路由(包括子分组)
protected $rules = [
'*' => [],
'get' => [],
'post' => [],
'put' => [],
'patch' => [],
'delete' => [],
'head' => [],
'options' => [],
]; 请求类型没有做验证 在208行中 $this->rules[$method] 取了成员数组的下标如果请求类型不在这个数组中 框架就会报500错误 建立框架升级的时候修复这个问题