Skip to content

Commit

Permalink
虚拟商品设置物流模版问题兼容处理
Browse files Browse the repository at this point in the history
  • Loading branch information
chopper711 committed Sep 6, 2022
1 parent 28d57df commit b61cfe8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@ private void checkGoods(Goods goods) {
break;
case "VIRTUAL_GOODS":
if (!"0".equals(goods.getTemplateId())) {
throw new ServiceException(ResultCode.VIRTUAL_GOODS_NOT_NEED_TEMP);
goods.setTemplateId("0");
}
break;
default:
Expand Down

0 comments on commit b61cfe8

Please sign in to comment.