zjh
2025-02-18 5e4d1aa4b27cfbcf1c4c8beb2ac05f3c7a0cf1bb
ltkj-admin/src/main/java/com/ltkj/web/config/swagger/SwaggerConfig.java
@@ -100,10 +100,12 @@
     */
    private List<SecurityReference> defaultAuth() {
        AuthorizationScope authorizationScope = new AuthorizationScope("global", "accessEverything");
        AuthorizationScope[] authorizationScopes = new AuthorizationScope[1];
        AuthorizationScope[] authorizationScopes = new AuthorizationScope[2];
        authorizationScopes[0] = authorizationScope;
//        authorizationScopes[1] = authorizationScope;
        List<SecurityReference> securityReferences = new ArrayList<>();
        securityReferences.add(new SecurityReference("Authorization", authorizationScopes));
//        securityReferences.add(new SecurityReference("hospId", authorizationScopes));
        return securityReferences;
    }