update mapping
This commit is contained in:
@@ -76,6 +76,8 @@ func AddItem(g *CartGrain, m *messages.AddItem) error {
|
||||
SellerId: m.SellerId,
|
||||
SellerName: m.SellerName,
|
||||
},
|
||||
SaleStatus: m.SaleStatus,
|
||||
ParentId: m.ParentId,
|
||||
|
||||
Price: *pricePerItem,
|
||||
TotalPrice: *MultiplyPrice(*pricePerItem, int64(m.Quantity)),
|
||||
|
||||
Reference in New Issue
Block a user