|
|
@ -26,6 +26,7 @@ import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.stereotype.Component; |
|
|
|
|
|
|
|
import java.lang.reflect.Method; |
|
|
|
import java.util.Date; |
|
|
|
|
|
|
|
/** |
|
|
|
* 积分埋点切面 |
|
|
@ -159,6 +160,7 @@ public class UserBehaviorAop { |
|
|
|
behaviorDto.setBehavior(behaviorCode); |
|
|
|
behaviorDto.setReferenceId(referenceId); |
|
|
|
behaviorDto.setUserId(userId); |
|
|
|
behaviorDto.setOperationTime(new Date()); |
|
|
|
//发送mq
|
|
|
|
pointsProducer.sendMessage(RocketMqConstant.MQ_TOPIC_POINTS, RocketMqConstant.MQ_TAG_POINTS, referenceId, JSONObject.toJSONString(behaviorDto)); |
|
|
|
} |
|
|
|