Pārlūkot izejas kodu

去掉服务监控配置

dengsixing 3 gadi atpakaļ
vecāks
revīzija
015a42200f

+ 8 - 8
4dkankan-center-modeling/src/main/resources/bootstrap-dev.yml

@@ -42,11 +42,11 @@ spring:
           management:
             context-path: ${server.servlet.context-path}/actuator
 
-management:
-  endpoints:
-    web:
-      exposure:
-        include: '*'
-  endpoint:
-    health:
-      show-details: ALWAYS
+#management:
+#  endpoints:
+#    web:
+#      exposure:
+#        include: '*'
+#  endpoint:
+#    health:
+#      show-details: ALWAYS

+ 8 - 8
4dkankan-center-modeling/src/main/resources/bootstrap-pro.yml

@@ -38,11 +38,11 @@ spring:
           management:
             context-path: ${server.servlet.context-path}/actuator
 
-management:
-  endpoints:
-    web:
-      exposure:
-        include: '*'
-  endpoint:
-    health:
-      show-details: ALWAYS
+#management:
+#  endpoints:
+#    web:
+#      exposure:
+#        include: '*'
+#  endpoint:
+#    health:
+#      show-details: ALWAYS

+ 8 - 8
4dkankan-center-modeling/src/main/resources/bootstrap-test.yml

@@ -38,11 +38,11 @@ spring:
           management:
             context-path: ${server.servlet.context-path}/actuator
 
-management:
-  endpoints:
-    web:
-      exposure:
-        include: '*'
-  endpoint:
-    health:
-      show-details: ALWAYS
+#management:
+#  endpoints:
+#    web:
+#      exposure:
+#        include: '*'
+#  endpoint:
+#    health:
+#      show-details: ALWAYS

+ 8 - 8
4dkankan-center-platform/src/main/resources/bootstrap-dev.yml

@@ -47,11 +47,11 @@ feign:
   httpclient:
     connection-timeout: 200000
 
-management:
-  endpoints:
-    web:
-      exposure:
-        include: '*'
-  endpoint:
-    health:
-      show-details: ALWAYS
+#management:
+#  endpoints:
+#    web:
+#      exposure:
+#        include: '*'
+#  endpoint:
+#    health:
+#      show-details: ALWAYS

+ 8 - 8
4dkankan-center-platform/src/main/resources/bootstrap-pro.yml

@@ -47,14 +47,14 @@ feign:
   httpclient:
     connection-timeout: 200000
 
-management:
-  endpoints:
-    web:
-      exposure:
-        include: '*'
-  endpoint:
-    health:
-      show-details: ALWAYS
+#management:
+#  endpoints:
+#    web:
+#      exposure:
+#        include: '*'
+#  endpoint:
+#    health:
+#      show-details: ALWAYS
 
 tlog:
   enable-invoke-time-print: true

+ 8 - 8
4dkankan-center-platform/src/main/resources/bootstrap-test.yml

@@ -47,11 +47,11 @@ feign:
   httpclient:
     connection-timeout: 200000
 
-management:
-  endpoints:
-    web:
-      exposure:
-        include: '*'
-  endpoint:
-    health:
-      show-details: ALWAYS
+#management:
+#  endpoints:
+#    web:
+#      exposure:
+#        include: '*'
+#  endpoint:
+#    health:
+#      show-details: ALWAYS

+ 3 - 0
4dkankan-center-scene/src/main/java/com/fdkankan/scene/Interceptor/CheckCooperationPermitAspect.java

@@ -67,6 +67,9 @@ public class CheckCooperationPermitAspect {
 
 		//判断是不是场景原用户,如果是,跳出
         ScenePlus scenePlus= scenePlusService.getScenePlusByNum(num);
+		if(Objects.isNull(scenePlus)){
+			throw new BusinessException(ErrorCode.FAILURE_CODE_5005);
+		}
         if(scenePlus.getUserId().equals(user.getId())){
             return;
         }