From 30d8e227e8d823b6c38c3b9c90ac2df03b63befe Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期二, 25 二月 2025 16:41:22 +0800
Subject: [PATCH] 淘宝转链接口更新

---
 fanli/src/main/java/com/yeshi/fanli/aspect/TestAspect.java |  110 +++++++++++++++++++++++++++---------------------------
 1 files changed, 55 insertions(+), 55 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/aspect/TestAspect.java b/fanli/src/main/java/com/yeshi/fanli/aspect/TestAspect.java
index 04ba1af..e560f5f 100644
--- a/fanli/src/main/java/com/yeshi/fanli/aspect/TestAspect.java
+++ b/fanli/src/main/java/com/yeshi/fanli/aspect/TestAspect.java
@@ -1,55 +1,55 @@
-package com.yeshi.fanli.aspect;
-
-import java.io.PrintWriter;
-
-import org.aspectj.lang.JoinPoint;
-import org.aspectj.lang.ProceedingJoinPoint;
-import org.aspectj.lang.annotation.After;
-import org.aspectj.lang.annotation.AfterReturning;
-import org.aspectj.lang.annotation.AfterThrowing;
-import org.aspectj.lang.annotation.Around;
-import org.aspectj.lang.annotation.Before;
-
-//@Component
-//@Aspect
-public class TestAspect {
-	public static final String EDP = "execution(* com.yeshi.shop.controller.**.*(..))";
-
-	@Before(EDP)
-	public void testBefore(JoinPoint joinpoint) {
-		System.out.println("testBefore");
-		System.out.println(joinpoint.getArgs().length);
-	}
-
-	@After(EDP)
-	public void testAfter(JoinPoint joinpoint) {
-		System.out.println("testAfter");
-		Object[] objs = joinpoint.getArgs();
-	}
-
-	@AfterReturning(pointcut = EDP, returning = "rvt")
-	public void testAfterReturning(JoinPoint joinpoint, Object rvt) {
-		System.out.println("testAfterReturning");
-	}
-
-	@AfterThrowing(throwing = "e", pointcut = EDP)
-	public void testAfterThrowing(JoinPoint joinpoint, Exception e) {
-		System.out.println("testAfterThrowing");
-	}
-
-	@Around(EDP)
-	public Object testAround(ProceedingJoinPoint joinPoint) {
-		
-		Object[] args = joinPoint.getArgs();
-		PrintWriter print = (PrintWriter) args[1];
-		print.print("AOP娴嬭瘯銆�");
-		Object obj = null;
-		try {
-			// obj = joinPoint.proceed(args);
-		} catch (Throwable e) {
-			e.printStackTrace();
-		}
-		return obj;
-	}
-
-}
+package com.yeshi.fanli.aspect;
+
+import java.io.PrintWriter;
+
+import org.aspectj.lang.JoinPoint;
+import org.aspectj.lang.ProceedingJoinPoint;
+import org.aspectj.lang.annotation.After;
+import org.aspectj.lang.annotation.AfterReturning;
+import org.aspectj.lang.annotation.AfterThrowing;
+import org.aspectj.lang.annotation.Around;
+import org.aspectj.lang.annotation.Before;
+
+//@Component
+//@Aspect
+public class TestAspect {
+	public static final String EDP = "execution(* com.yeshi.shop.controller.**.*(..))";
+
+	@Before(EDP)
+	public void testBefore(JoinPoint joinpoint) {
+		System.out.println("testBefore");
+		System.out.println(joinpoint.getArgs().length);
+	}
+
+	@After(EDP)
+	public void testAfter(JoinPoint joinpoint) {
+		System.out.println("testAfter");
+		Object[] objs = joinpoint.getArgs();
+	}
+
+	@AfterReturning(pointcut = EDP, returning = "rvt")
+	public void testAfterReturning(JoinPoint joinpoint, Object rvt) {
+		System.out.println("testAfterReturning");
+	}
+
+	@AfterThrowing(throwing = "e", pointcut = EDP)
+	public void testAfterThrowing(JoinPoint joinpoint, Exception e) {
+		System.out.println("testAfterThrowing");
+	}
+
+	@Around(EDP)
+	public Object testAround(ProceedingJoinPoint joinPoint) {
+		
+		Object[] args = joinPoint.getArgs();
+		PrintWriter print = (PrintWriter) args[1];
+		print.print("AOP娴嬭瘯銆�");
+		Object obj = null;
+		try {
+			// obj = joinPoint.proceed(args);
+		} catch (Throwable e) {
+			e.printStackTrace();
+		}
+		return obj;
+	}
+
+}

--
Gitblit v1.8.0