From 3145bfd60c4028a4c6da67484634bfc5a1cca470 Mon Sep 17 00:00:00 2001
From: yujian <yujian@123.com>
Date: 星期三, 11 九月 2019 15:47:42 +0800
Subject: [PATCH] 领取券加入信息邀请消息

---
 fanli/src/main/java/com/yeshi/fanli/service/impl/msg/UserInviteMsgNotificationServiceImpl.java |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/service/impl/msg/UserInviteMsgNotificationServiceImpl.java b/fanli/src/main/java/com/yeshi/fanli/service/impl/msg/UserInviteMsgNotificationServiceImpl.java
index 95a4fec..b64ade5 100644
--- a/fanli/src/main/java/com/yeshi/fanli/service/impl/msg/UserInviteMsgNotificationServiceImpl.java
+++ b/fanli/src/main/java/com/yeshi/fanli/service/impl/msg/UserInviteMsgNotificationServiceImpl.java
@@ -6,6 +6,7 @@
 
 import org.springframework.stereotype.Service;
 
+import com.yeshi.fanli.dto.msg.MsgInviteContentDTO;
 import com.yeshi.fanli.dto.push.PushContentDTO;
 import com.yeshi.fanli.entity.bus.msg.MsgInviteDetail;
 import com.yeshi.fanli.entity.bus.user.ThreeSale;
@@ -53,7 +54,6 @@
 		} catch (PushException e) {
 			e.printStackTrace();
 		}
-
 	}
 
 	@Override
@@ -66,4 +66,11 @@
 		}
 	}
 
+	
+	@Override
+	public void receiveGift(Long uid, String beizu, MsgInviteContentDTO content) {
+		MsgInviteDetail detail = MsgInviteDetailFactory.receiveGift(uid, beizu, content);
+		msgInviteDetailService.insertSelective(detail);
+	}
+
 }

--
Gitblit v1.8.0