From 59c1eb27e839b65e59a16d459695cceb75eaa106 Mon Sep 17 00:00:00 2001 From: wangwh <2397901735@qq.com> Date: Wed, 09 Oct 2024 11:13:31 +0800 Subject: [PATCH] 自动评价定时任务添加判空 --- dyh-gateway/src/main/java/cn/huge/gateway/utils/SpringContextUtil.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dyh-gateway/src/main/java/cn/huge/gateway/utils/SpringContextUtil.java b/dyh-gateway/src/main/java/cn/huge/gateway/utils/SpringContextUtil.java index 22c2c46..e6defca 100644 --- a/dyh-gateway/src/main/java/cn/huge/gateway/utils/SpringContextUtil.java +++ b/dyh-gateway/src/main/java/cn/huge/gateway/utils/SpringContextUtil.java @@ -53,7 +53,7 @@ public static Boolean checkDev(){ String activeProfile = getActiveProfile(); if (DEV.equals(activeProfile)){ - return false; + return true; }else{ return false; } -- Gitblit v1.8.0