新增email依赖
This commit is contained in:
parent
42301ca37d
commit
a61b9d0405
@ -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();
|
||||
|
14
pom.xml
14
pom.xml
@ -23,6 +23,8 @@
|
||||
<module>cloud-common-freemarker</module>
|
||||
<module>cloud-common-socket</module>
|
||||
<module>cloud-common-socket-client</module>
|
||||
<module>cloud-central-control</module>
|
||||
<module>cloud-central-control-client</module>
|
||||
</modules>
|
||||
<packaging>pom</packaging>
|
||||
<description>成迈云</description>
|
||||
@ -66,6 +68,8 @@
|
||||
<zxing.version>3.3.3</zxing.version>
|
||||
<pingyin4j.version>2.5.1</pingyin4j.version>
|
||||
<sauronsoftware.version>1.0.2</sauronsoftware.version>
|
||||
<jwt.version>1.0.9.RELEASE</jwt.version>
|
||||
<email.version>1.6.2</email.version>
|
||||
</properties>
|
||||
|
||||
<!-- 依赖管理 -->
|
||||
@ -371,7 +375,7 @@
|
||||
<dependency>
|
||||
<groupId>org.springframework.security</groupId>
|
||||
<artifactId>spring-security-jwt</artifactId>
|
||||
<version>1.0.9.RELEASE</version>
|
||||
<version>${jwt.version}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- sauronsoftware start -->
|
||||
@ -381,6 +385,14 @@
|
||||
<version>${sauronsoftware.version}</version>
|
||||
</dependency>
|
||||
<!-- sauronsoftware end -->
|
||||
|
||||
<!-- email start -->
|
||||
<dependency>
|
||||
<groupId>com.sun.mail</groupId>
|
||||
<artifactId>javax.mail</artifactId>
|
||||
<version>${email.version}</version>
|
||||
</dependency>
|
||||
<!-- email end -->
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user