hfxc226 2 years ago
parent
commit
37d7507dfe

+ 1 - 1
platform-common/src/main/java/com/platform/common/util/BeanUtils.java

@@ -81,6 +81,6 @@ public class BeanUtils implements ApplicationContextAware {
     }
 
     public static boolean isProd() {
-        return profile == 3;
+        return profile == 2 || profile == 3;
     }
 }