|
@@ -933,7 +933,7 @@ public class SecondGoodsServiceImpl extends ServiceImpl<SecondGoodsMapper, Secon
|
|
|
// 插入审核记录
|
|
// 插入审核记录
|
|
|
createGoodsAudit(goods, "", Constants.AuditStatus.PASSED);
|
|
createGoodsAudit(goods, "", Constants.AuditStatus.PASSED);
|
|
|
// 发送审核成功消息
|
|
// 发送审核成功消息
|
|
|
- sendMessage(goods);
|
|
|
|
|
|
|
+// sendMessage(goods);
|
|
|
isNotified = true; // 标记通知已发送
|
|
isNotified = true; // 标记通知已发送
|
|
|
// 上架 记录商品操作历史
|
|
// 上架 记录商品操作历史
|
|
|
String operationName = "";
|
|
String operationName = "";
|
|
@@ -1154,7 +1154,7 @@ public class SecondGoodsServiceImpl extends ServiceImpl<SecondGoodsMapper, Secon
|
|
|
// 插入审核记录
|
|
// 插入审核记录
|
|
|
createGoodsAudit(goods, "", Constants.AuditStatus.PASSED);
|
|
createGoodsAudit(goods, "", Constants.AuditStatus.PASSED);
|
|
|
// 发送审核成功消息
|
|
// 发送审核成功消息
|
|
|
- sendMessage(goods);
|
|
|
|
|
|
|
+// sendMessage(goods);
|
|
|
// 审核成功,记录操作历史
|
|
// 审核成功,记录操作历史
|
|
|
String operationName = "";
|
|
String operationName = "";
|
|
|
QueryWrapper<SecondGoodsRecord> queryWrapper = new QueryWrapper<>();
|
|
QueryWrapper<SecondGoodsRecord> queryWrapper = new QueryWrapper<>();
|
|
@@ -2195,7 +2195,7 @@ public class SecondGoodsServiceImpl extends ServiceImpl<SecondGoodsMapper, Secon
|
|
|
// 为每个商品记录操作历史并发送通知
|
|
// 为每个商品记录操作历史并发送通知
|
|
|
for (SecondGoods goods : updatedGoodsList) {
|
|
for (SecondGoods goods : updatedGoodsList) {
|
|
|
recordGoodsOperation(goods, "风控下架");
|
|
recordGoodsOperation(goods, "风控下架");
|
|
|
- sendShelveMessage(goods);
|
|
|
|
|
|
|
+// sendShelveMessage(goods);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -2269,7 +2269,7 @@ public class SecondGoodsServiceImpl extends ServiceImpl<SecondGoodsMapper, Secon
|
|
|
SecondGoods updatedGoods = getById(secondGoods.getId());
|
|
SecondGoods updatedGoods = getById(secondGoods.getId());
|
|
|
recordGoodsOperation(updatedGoods, "下架商品");
|
|
recordGoodsOperation(updatedGoods, "下架商品");
|
|
|
// 发送系统通知
|
|
// 发送系统通知
|
|
|
- sendShelveMessage(updatedGoods);
|
|
|
|
|
|
|
+// sendShelveMessage(updatedGoods);
|
|
|
return true;
|
|
return true;
|
|
|
} else {
|
|
} else {
|
|
|
return false;
|
|
return false;
|