姜永辉 2 лет назад
Родитель
Сommit
7d98f5366e

+ 1 - 1
src/main/java/com/dk/common/infrastructure/aspect/ServiceAspect.java

@@ -95,7 +95,7 @@ public class ServiceAspect implements HandlerInterceptor {
             }else{
                 // 设置企业Id
                 String cpId = JwtUtil.getCpId(decrypt);
-                if (cpId != null) {
+                if (cpId != null && joinPoint.getSignature().getName() != "getFeignExperience") {
                     MybatisSqlIntercept.cpId = Integer.parseInt(cpId);
                 }
             }