com.github.lhnonline.boot.common.annotation.EnableHttpStatusToHeaderAop Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of weboot-common Show documentation
Show all versions of weboot-common Show documentation
用于SpringBoot项目 | 接口返回数据包装,http状态码aop, http请求日志统一打印 | 使用了fastjson,和 mybatis-plus-extension
The newest version!
package com.github.lhnonline.boot.common.annotation;
import com.github.lhnonline.boot.common.config.HttpStatusToHeaderAopReg;
import org.springframework.context.annotation.Import;
import java.lang.annotation.*;
/**
* author luohaonan
* date 2020-11-11
* email [email protected]
* description 开启把返回结果中的状态码写入http状态码
*/
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
@Import({HttpStatusToHeaderAopReg.class})
public @interface EnableHttpStatusToHeaderAop {
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy