Commit fb55803a by qiuweili123

增加lombok

parent fe150613
...@@ -63,6 +63,10 @@ ...@@ -63,6 +63,10 @@
<scope>provided</scope> <scope>provided</scope>
<optional>true</optional> <optional>true</optional>
</dependency> </dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</dependency>
</dependencies> </dependencies>
......
package com.secoo.mall.common.processor; package com.secoo.mall.common.processor;
import lombok.extern.slf4j.Slf4j;
@Slf4j
public abstract class AbsExceptionProcessor implements ExceptionProcessor{ public abstract class AbsExceptionProcessor implements ExceptionProcessor{
public void process(Exception e) throws Exception{ public void process(Exception e) throws Exception{
log.warn("warn:",e);
convertException(e); convertException(e);
throw e; throw e;
} }
......
package com.secoo.mall.web.annotation; package com.secoo.mall.web.annotation;
import java.lang.annotation.*;
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface ApiIgnoreJson { public @interface ApiIgnoreJson {
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment