web.config 拆分 <appSettings configSource="xxx.config"> </appSettings> 在 web.config 加入上面 然后创建 xxx.config 文件