swagger关闭生产访问 通过profile注解来处理。 Swagger的congif类上声明@Profile({"dev", "test"}),发布到生产上使用product的profile时, swagger关闭