Spring配置在各种环境中灵活切换,并可以提供默认配置,线上临时修改配置。 在test下有使用例子。 http://blog.csdn.net/hengyunabc/article/details/18525743