虚拟商品设置物流模版问题兼容处理
This commit is contained in:
parent
28d57dff72
commit
b61cfe8b6b
@ -574,7 +574,7 @@ public class GoodsServiceImpl extends ServiceImpl<GoodsMapper, Goods> implements
|
||||
break;
|
||||
case "VIRTUAL_GOODS":
|
||||
if (!"0".equals(goods.getTemplateId())) {
|
||||
throw new ServiceException(ResultCode.VIRTUAL_GOODS_NOT_NEED_TEMP);
|
||||
goods.setTemplateId("0");
|
||||
}
|
||||
break;
|
||||
default:
|
||||
|
Loading…
x
Reference in New Issue
Block a user