springboot 在shell中的启动方式,通过参数设置启动的配置文件和服务端口:

java -jar ycloud-boot-wei.jar –spring.profiles.active=local –server.port=8080