@Profile({"local", "dev", "test"}) local,dev, test 分支都可以访问swagger 转载于:https://www.cnblogs.com/mengjianzhou/p/8705617.html