|
@@ -306,6 +306,7 @@ public class SecondGoodsServiceImpl extends ServiceImpl<SecondGoodsMapper, Secon
|
|
|
lifeNotice.setBusinessId(goods.getAuditRecordId());
|
|
|
lifeNotice.setTitle("商品审核通知");
|
|
|
JSONObject jsonObject = new JSONObject();
|
|
|
+ jsonObject.put("goodsId", goods.getId());
|
|
|
jsonObject.put("status", "true");
|
|
|
jsonObject.put("message", "恭喜您的商品已发布成功。");
|
|
|
lifeNotice.setContext(jsonObject.toJSONString());
|
|
@@ -343,6 +344,7 @@ public class SecondGoodsServiceImpl extends ServiceImpl<SecondGoodsMapper, Secon
|
|
|
// TODO: 失败原因本期为固定文案,实际原因暂不保存
|
|
|
|
|
|
JSONObject jsonObject = new JSONObject();
|
|
|
+ jsonObject.put("goodsId", goods.getId());
|
|
|
jsonObject.put("status", "false");
|
|
|
jsonObject.put("message", "抱歉您的商品发布失败,图片或文字存在违规行为,请您修改后重新发布。");
|
|
|
lifeNotice.setContext(jsonObject.toJSONString());
|