|
|
@@ -1827,8 +1827,12 @@ public class StoreInfoServiceImpl extends ServiceImpl<StoreInfoMapper, StoreInfo
|
|
|
// 发送通知
|
|
|
LifeNotice lifeMessage = new LifeNotice();
|
|
|
lifeMessage.setReceiverId("store_" + storeInfo.getStorePhone());
|
|
|
- String text = "当前店铺状态已恢复正常。您可继续使用该店铺登录并享受各项服务,所有店铺数据均已妥善保留。";
|
|
|
- lifeMessage.setContext(text);
|
|
|
+ SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
|
|
+ String storeDate = simpleDateFormat.format(new Date());
|
|
|
+ String text = "您在"+storeDate+"撤销了注销账号,所有数据均已保留,您可继续在平台使用。";
|
|
|
+ com.alibaba.fastjson2.JSONObject jsonObject = new com.alibaba.fastjson2.JSONObject();
|
|
|
+ jsonObject.put("message", text);
|
|
|
+ lifeMessage.setContext(jsonObject.toJSONString());
|
|
|
lifeMessage.setTitle("撤销注销店铺通知");
|
|
|
lifeMessage.setSenderId("system");
|
|
|
lifeMessage.setIsRead(0);
|