diff --git a/cloud-common-plugin/src/main/java/com/cm/common/aspect/ApiParamsAspect.java b/cloud-common-plugin/src/main/java/com/cm/common/aspect/ApiParamsAspect.java index cffb65b..2f014e2 100644 --- a/cloud-common-plugin/src/main/java/com/cm/common/aspect/ApiParamsAspect.java +++ b/cloud-common-plugin/src/main/java/com/cm/common/aspect/ApiParamsAspect.java @@ -54,6 +54,10 @@ public class ApiParamsAspect { public void wechatCutPoint() { } + @Pointcut("execution(public * com.cm.central.control.controller..*.*(..))") + public void centralControlPoint() { + } + @Before("apiCutPoint()") public void beforeApiCutPoint(JoinPoint joinPoint) throws ParamsException { beforeCutPoint(joinPoint); @@ -79,6 +83,11 @@ public class ApiParamsAspect { beforeCutPoint(joinPoint); } + @Before("centralControlPoint()") + public void beforeCentralControlPoint(JoinPoint joinPoint) throws ParamsException { + beforeCutPoint(joinPoint); + } + private void beforeCutPoint(JoinPoint joinPoint) throws ParamsException { Signature signature = joinPoint.getSignature(); Object[] args = joinPoint.getArgs(); diff --git a/pom.xml b/pom.xml index 416e6b4..3464604 100644 --- a/pom.xml +++ b/pom.xml @@ -23,6 +23,8 @@ cloud-common-freemarker cloud-common-socket cloud-common-socket-client + cloud-central-control + cloud-central-control-client pom 成迈云 @@ -66,6 +68,8 @@ 3.3.3 2.5.1 1.0.2 + 1.0.9.RELEASE + 1.6.2 @@ -371,7 +375,7 @@ org.springframework.security spring-security-jwt - 1.0.9.RELEASE + ${jwt.version} @@ -381,6 +385,14 @@ ${sauronsoftware.version} + + + + com.sun.mail + javax.mail + ${email.version} + +