消息中心 提示语修改
This commit is contained in:
@@ -162,8 +162,14 @@ public class MkConsumeCashbackServiceImpl extends ServiceImpl<MkConsumeCashbackM
|
||||
.setRemark(StrUtil.format("订单消费: {}, 返现: {}", amount, cashbackAmount)));
|
||||
log.info("订单返现 订单ID:{}, 店铺用户id: {}, 订单消费: {}, 返现: {}",orderId, shopUser.getId(), amount, cashbackAmount);
|
||||
|
||||
AcUserMsg msg = new AcUserMsg().setUserId(userId).setShopId(shopId).setSourceId(orderId).setSourceType("order")
|
||||
.setType("cash").setTitle("返现通知").setContent(StrUtil.format("订单: {}, 返现: {}", orderNo, cashbackAmount));
|
||||
AcUserMsg msg = new AcUserMsg()
|
||||
.setUserId(userId)
|
||||
.setShopId(shopId)
|
||||
.setSourceId(orderId)
|
||||
.setSourceType("order")
|
||||
.setType("cash")
|
||||
.setTitle("消费返现到账")
|
||||
.setContent(StrUtil.format("返现到账提醒: 你本次消费的{}元返现已存入账户,可直接用于消费或提现,查收这份省钱福利", cashbackAmount));
|
||||
acUserMsgService.addUserMsg(msg);
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -154,8 +154,8 @@ public class MkPointsUserServiceImpl extends ServiceImpl<MkPointsUserMapper, MkP
|
||||
.setSourceType("order")
|
||||
.setType("points")
|
||||
.setReadStatus(0)
|
||||
.setTitle("积分变动")
|
||||
.setContent(StrUtil.format("支付订单,{} 积分已入账", points));
|
||||
.setTitle("积分到账")
|
||||
.setContent(StrUtil.format("积分到账提醒:{} 积分已成功存储你的账户,可用于兑换好物、抵扣消费,快来解锁权益!", points));
|
||||
acUserMsgService.addUserMsg(msg);
|
||||
|
||||
return record.getId();
|
||||
|
||||
Reference in New Issue
Block a user