| | |
| | |
|
| | | import org.aspectj.lang.ProceedingJoinPoint;
|
| | | import org.aspectj.lang.annotation.Around;
|
| | | import org.aspectj.lang.annotation.Aspect;
|
| | | import org.springframework.core.annotation.Order;
|
| | | import org.springframework.core.task.TaskExecutor;
|
| | | import org.springframework.stereotype.Component;
|
| | | import org.springframework.web.context.request.RequestContextHolder;
|
| | | import org.springframework.web.context.request.ServletRequestAttributes;
|
| | |
|
| | |
| | | return;
|
| | | }
|
| | | // 加入缓存 20分钟
|
| | | redisManager.cacheCommonString("activeUid_" + uuid, uuid.toString(), 60 * 20);
|
| | | }
|
| | | |
| | | // 接收券
|
| | | try {
|
| | | userSystemCouponService.receivedCoupon(uuid);
|
| | | } catch (Exception e) {
|
| | | e.printStackTrace();
|
| | | redisManager.cacheCommonString(key, uuid.toString(), 60 * 20);
|
| | | }
|
| | | }
|
| | | });
|