From ab4b21ff5826e07e4e38b78b1587d6d1e705103d Mon Sep 17 00:00:00 2001 From: chenchen <934298133@qq.com> Date: 星期一, 07 十一月 2022 16:54:04 +0800 Subject: [PATCH] update oss相关 --- 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