he2802 4 سال پیش
والد
کامیت
3000c414e3
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      zhongzheng-admin/src/main/java/com/zhongzheng/core/config/SwaggerConfig.java

+ 1 - 1
zhongzheng-admin/src/main/java/com/zhongzheng/core/config/SwaggerConfig.java

@@ -73,7 +73,7 @@ public class SwaggerConfig
     private List<ApiKey> securitySchemes()
     {
         List<ApiKey> apiKeyList = new ArrayList<ApiKey>();
-        apiKeyList.add(new ApiKey("Authorization", "Authorization", "header"));
+    //    apiKeyList.add(new ApiKey("Authorization", "Authorization", "header"));//强制全局参数
         return apiKeyList;
     }