前端:This application has no explicit mapping for /error, so you are seeing this as a fallback.
Tue Jan 04 17:00:28 CST 2022
There was an unexpected error (type=Method Not Allowed, status=405).
那你不如直接把@requestMapping换成@postMapping呢,405应该是超时,还有就是可以在参数上加@requestparam注解
在requestMapping中加入method = RequestMethod.POST