fix
This commit is contained in:
parent
5e2760849c
commit
43f3942508
@ -4,6 +4,7 @@ import (
|
|||||||
"context"
|
"context"
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"errors"
|
"errors"
|
||||||
|
"fmt"
|
||||||
"fusenapi/model/gmodel"
|
"fusenapi/model/gmodel"
|
||||||
"fusenapi/utils/basic"
|
"fusenapi/utils/basic"
|
||||||
"fusenapi/utils/shopping_cart"
|
"fusenapi/utils/shopping_cart"
|
||||||
@ -157,7 +158,7 @@ func (d *defaultOrder) Create(ctx context.Context, in *CreateReq) (res *CreateRe
|
|||||||
|
|
||||||
// 商品总价
|
// 商品总价
|
||||||
productTotalPrice := productPrice * *shoppingCart.PurchaseQuantity
|
productTotalPrice := productPrice * *shoppingCart.PurchaseQuantity
|
||||||
|
fmt.Println(productTotalPrice)
|
||||||
// 存储订单商品
|
// 存储订单商品
|
||||||
orderProductList = append(orderProductList, &gmodel.OrderProduct{})
|
orderProductList = append(orderProductList, &gmodel.OrderProduct{})
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user