修复商品审核和编辑商品缺失对es操作问题

This commit is contained in:
paulGao
2022-01-11 12:10:54 +08:00
parent 3c905ffd8b
commit 459a736ebc
3 changed files with 6 additions and 5 deletions

View File

@@ -188,6 +188,7 @@ public class GoodsMessageListener implements RocketMQListener<MessageExt> {
case GOODS_AUDIT:
Goods goods = JSONUtil.toBean(new String(messageExt.getBody()), Goods.class);
updateGoodsNum(goods);
updateGoodsIndex(goods);
break;
//删除商品
case GOODS_DELETE: