mirror of
				https://github.com/YunaiV/ruoyi-vue-pro.git
				synced 2025-10-31 18:49:06 +08:00 
			
		
		
		
	去除无效引用,添加注释
This commit is contained in:
		| @ -6,18 +6,20 @@ import org.apache.skywalking.apm.toolkit.trace.ActiveSpan; | |||||||
| import org.aspectj.lang.ProceedingJoinPoint; | import org.aspectj.lang.ProceedingJoinPoint; | ||||||
| import org.aspectj.lang.annotation.Around; | import org.aspectj.lang.annotation.Around; | ||||||
| import org.aspectj.lang.annotation.Aspect; | import org.aspectj.lang.annotation.Aspect; | ||||||
| import org.aspectj.lang.annotation.Before; |  | ||||||
| import org.aspectj.lang.annotation.Pointcut; |  | ||||||
| import org.springframework.context.annotation.Configuration; | import org.springframework.context.annotation.Configuration; | ||||||
| import org.springframework.web.bind.annotation.ResponseBody; |  | ||||||
|  |  | ||||||
|  | /** | ||||||
|  |  * 业务链路AOP切面 | ||||||
|  |  * | ||||||
|  |  * @author mashu | ||||||
|  |  */ | ||||||
| @Aspect | @Aspect | ||||||
| @Slf4j | @Slf4j | ||||||
| @Configuration | @Configuration | ||||||
| public class BizTracingAop { | public class BizTracingAop { | ||||||
|  |  | ||||||
|     @Around(value = "@annotation(bizTracing)") |     @Around(value = "@annotation(bizTracing)") | ||||||
|     public void tagBizInfo( ProceedingJoinPoint joinPoint, BizTracing bizTracing) { |     public void tagBizInfo(ProceedingJoinPoint joinPoint, BizTracing bizTracing) { | ||||||
|         String bizId = SpElUtil.analysisSpEl(bizTracing.bizId(), joinPoint); |         String bizId = SpElUtil.analysisSpEl(bizTracing.bizId(), joinPoint); | ||||||
|         String bizType = SpElUtil.analysisSpEl(bizTracing.bizType(), joinPoint); |         String bizType = SpElUtil.analysisSpEl(bizTracing.bizType(), joinPoint); | ||||||
|         log.info("accept biz: bizId[{}], bizType[{}].", bizId, bizType); |         log.info("accept biz: bizId[{}], bizType[{}].", bizId, bizType); | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 dark
					dark