|
|
@@ -340,9 +340,13 @@ public class LifeDiscountCouponStoreFriendServiceImpl extends ServiceImpl<LifeDi
|
|
|
//存入接收人
|
|
|
lifeNotice.setReceiverId("user_" + lifeUser.getUserPhone());
|
|
|
//存入信息
|
|
|
- lifeNotice.setContext(storeInfo.getStoreName() + " 赠送了您他的好友店铺优惠券,快去我的券包查看吧~");
|
|
|
+ String text = storeInfo.getStoreName() + "赠送了您他的好友店铺优惠券,快去我的券包查看吧~";
|
|
|
+ com.alibaba.fastjson2.JSONObject jsonObject = new com.alibaba.fastjson2.JSONObject();
|
|
|
+ jsonObject.put("message", text);
|
|
|
+ lifeNotice.setContext(jsonObject.toJSONString());
|
|
|
//存入类型
|
|
|
lifeNotice.setNoticeType(1);
|
|
|
+ lifeNotice.setTitle("赠劵通知");
|
|
|
lifeNoticeMapper.insert(lifeNotice);
|
|
|
|
|
|
}
|