405报错问题 在使用post请求json文件中的数据时,返回报错405(Method Not Allowed) 这个时候是因为请求的问题出错,需要把Get改成Post method = RequestMethod.POST ------> method = RequestMethod.GET