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