Logo white

BJ_ZTEITS-Developers / parking-cloud-yudao

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • parking-cloud-yudao
  • ..
  • annotation
  • BizTracing.java
  • 交易链路流水号为空时打印错误日志,且不记录链路至skywalking
    7f84e44e
    dark authored
    2021-03-18 22:56:35 +0800  
    Browse Code »
BizTracing.java 381 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
package cn.iocoder.dashboard.common.annotation;

import java.lang.annotation.*;

@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Inherited

/**
 * 打印业务流水号/业务类型注解
 *
 * @author 麻薯
 */
public @interface BizTracing {

    String BIZ_ID_TAG = "bizId";
    String BIZ_TYPE_TAG = "bizType";

    String bizId();

    String bizType();

}