2023-01-12 11:17:41.421 [http-nio-8080-exec-8] DEBUG org.springframework.web.servlet.DispatcherServlet - GET "/cgi-bin/token?grant_type=client_credential&appid=&secret=", parameters={masked}
2023-01-12 11:17:41.422 [http-nio-8080-exec-8] DEBUG o.s.web.servlet.handler.SimpleUrlHandlerMapping - Mapped to ResourceHttpRequestHandler [classpath [META-INF/resources/], classpath [resources/], classpath [static/], classpath [public/], ServletContext [/]]
2023-01-12 11:17:41.485 [http-nio-8080-exec-8] DEBUG o.s.w.servlet.resource.ResourceHttpRequestHandler - Resource not found
2023-01-12 11:17:41.485 [http-nio-8080-exec-8] DEBUG org.springframework.web.servlet.DispatcherServlet - Completed 404 NOT_FOUND
2023-01-12 11:17:41.485 [http-nio-8080-exec-8] DEBUG org.springframework.web.servlet.DispatcherServlet - "ERROR" dispatch for GET "/error?grant_type=client_credential&appid=&secret=", parameters={masked}
{"timestamp":"2023-01-12T03:17:41.486+00:00","status":404,"error":"Not Found","path":"/cgi-bin/token"}
如果把生产环境改成测试环境 是不是就没问题了