From d46dea27b6ec3e0fb32ec7d137699e9fc7d609b0 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期四, 12 十二月 2019 14:18:11 +0800 Subject: [PATCH] 订单补贴消息修改 --- fanli/src/main/java/com/yeshi/fanli/util/factory/msg/MsgInviteDetailFactory.java | 26 +++++++++++++++++++++++++- 1 files changed, 25 insertions(+), 1 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/util/factory/msg/MsgInviteDetailFactory.java b/fanli/src/main/java/com/yeshi/fanli/util/factory/msg/MsgInviteDetailFactory.java index f35c8e7..5228650 100644 --- a/fanli/src/main/java/com/yeshi/fanli/util/factory/msg/MsgInviteDetailFactory.java +++ b/fanli/src/main/java/com/yeshi/fanli/util/factory/msg/MsgInviteDetailFactory.java @@ -37,7 +37,28 @@ return detail; } - + /** + * 閭�璇锋垚鍔� + * + * @param threeSale + * @param uid + * @return + */ + public static MsgInviteDetail createInviteSuccess2_1(Long uid, ThreeSale threeSale) { + if (threeSale == null || uid == null) + return null; + MsgInviteDetail detail = new MsgInviteDetail(); + detail.setRead(false); + detail.setUser(new UserInfo(uid)); + detail.setInviteUser(threeSale); + detail.setMsgType(MsgTypeInviteTypeEnum.inviteSucceed); + detail.setDesc("闃熷憳锛堝ソ鍙嬶級鐔熺粌浣跨敤App鍙幏寰楃孩鍖�"); + detail.setBeiZhu("婊¤冻鑾峰緱绾㈠寘鏉′欢鍚庣郴缁熷皢鑷姩涓嬪彂鍒扳�滄垜鐨�-绾㈠寘鈥濅腑"); + detail.setCreateTime(new Date()); + detail.setUpdateTime(new Date()); + return detail; + } + /** * 鎵弿閭�璇蜂簩缁寸爜鎴愬姛锛屼絾鏄湭鐧诲綍 * @@ -62,6 +83,9 @@ detail.setUser(new UserInfo(uid)); return detail; } + + + /** * 閭�璇峰け璐� -- Gitblit v1.8.0