2021-03-06 22:29:11 +08:00
|
|
|
package cn.iocoder.dashboard.common.annotation;
|
|
|
|
|
|
|
|
import java.lang.annotation.*;
|
|
|
|
|
|
|
|
@Target({ElementType.METHOD})
|
|
|
|
@Retention(RetentionPolicy.RUNTIME)
|
|
|
|
@Inherited
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 打印业务流水号/业务类型注解
|
|
|
|
*
|
|
|
|
* @author 麻薯
|
|
|
|
*/
|
|
|
|
public @interface BizTracing {
|
2021-03-09 20:20:38 +08:00
|
|
|
|
2021-03-18 23:12:49 +08:00
|
|
|
/**
|
|
|
|
* 交易流水tag名
|
|
|
|
*/
|
2021-03-18 22:56:35 +08:00
|
|
|
String BIZ_ID_TAG = "bizId";
|
2021-03-18 23:12:49 +08:00
|
|
|
/**
|
|
|
|
* 交易类型tag名
|
|
|
|
*/
|
2021-03-18 22:56:35 +08:00
|
|
|
String BIZ_TYPE_TAG = "bizType";
|
2021-03-06 22:29:11 +08:00
|
|
|
|
2021-03-18 22:56:35 +08:00
|
|
|
String bizId();
|
2021-03-06 22:29:11 +08:00
|
|
|
|
2021-03-18 22:56:35 +08:00
|
|
|
String bizType();
|
2021-03-06 22:29:11 +08:00
|
|
|
|
|
|
|
}
|