All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.lhnonline.boot.common.annotation.EnableHttpStatusToHeaderAop Maven / Gradle / Ivy

Go to download

用于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