From a61b9d04053e9eafd189bb6917d73a21c0b076bb Mon Sep 17 00:00:00 2001
From: wenc000 <450292408@qq.com>
Date: Fri, 31 Jul 2020 19:21:14 +0800
Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9Eemail=E4=BE=9D=E8=B5=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../java/com/cm/common/aspect/ApiParamsAspect.java | 9 +++++++++
pom.xml | 14 +++++++++++++-
2 files changed, 22 insertions(+), 1 deletion(-)
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}
+
+