@@ -63,10 +63,6 @@ var checkOrderProduct = func(ctx context.Context, orderCode string, param model.
for _, tParam := range param.ProductArr {
orderDetailId := gconv.Int64(tParam["id"])
if update {
- if orderDetailId == 0 {
- err = fmt.Errorf("商品修改缺少id")
- return
- }
existsOrderDetailIds[orderDetailId] = false
}
//参数注入