From bb73b31e6b44ebfb74c748df9582641b72c1d02c Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期二, 25 十月 2022 17:56:54 +0800 Subject: [PATCH] fix 修复 sqlserver 特定情况下报 ssl 证书问题 默认关闭 ssl 认证 --- ruoyi-extend/ruoyi-xxl-job-admin/src/main/java/com/xxl/job/admin/core/route/ExecutorRouteStrategyEnum.java | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ruoyi-extend/ruoyi-xxl-job-admin/src/main/java/com/xxl/job/admin/core/route/ExecutorRouteStrategyEnum.java b/ruoyi-extend/ruoyi-xxl-job-admin/src/main/java/com/xxl/job/admin/core/route/ExecutorRouteStrategyEnum.java index 7fff93a..1903b93 100644 --- a/ruoyi-extend/ruoyi-xxl-job-admin/src/main/java/com/xxl/job/admin/core/route/ExecutorRouteStrategyEnum.java +++ b/ruoyi-extend/ruoyi-xxl-job-admin/src/main/java/com/xxl/job/admin/core/route/ExecutorRouteStrategyEnum.java @@ -30,13 +30,14 @@ public String getTitle() { return title; } + public ExecutorRouter getRouter() { return router; } - public static ExecutorRouteStrategyEnum match(String name, ExecutorRouteStrategyEnum defaultItem){ + public static ExecutorRouteStrategyEnum match(String name, ExecutorRouteStrategyEnum defaultItem) { if (name != null) { - for (ExecutorRouteStrategyEnum item: ExecutorRouteStrategyEnum.values()) { + for (ExecutorRouteStrategyEnum item : ExecutorRouteStrategyEnum.values()) { if (item.name().equals(name)) { return item; } -- Gitblit v1.9.3