viper读取配置四种方式从命令行参数中读取配置从环境变量读取配置从配置文件读取配置读取键值参考链接文件https://blog.csdn.net/Jmilk/article/details/108030371