Appearance
Props props = PropsUtil.get("config/application.properties"); String host = props.getStr("spring.redis.host"); Integer port = props.getInt("spring.redis.port"); //区分环境 String active = props.getStr("spring.profiles.active", null);