springboot 2.X版本以前設置,application.properties:server.context-path=/項目名
springboot 2.X版本以後設置,application.properties:server.servlet.context-path: /項目名
springboot 2.X版本以前設置,application.properties:server.context-path=/項目名
springboot 2.X版本以後設置,application.properties:server.servlet.context-path: /項目名