Compare commits

...

2 Commits

Author SHA1 Message Date
yuguojian
7b557072f3 订单减库存选项,下单时,发货时 2024-12-09 15:54:49 +08:00
yuguojian
8d6f2b31f2 订单发货通知修改商品id为订单商品id 2024-12-09 15:27:41 +08:00
2 changed files with 4 additions and 4 deletions

View File

@@ -23,7 +23,7 @@ type OrderPay struct {
type OrderSent struct { type OrderSent struct {
ID uint `json:"id"` // 订单ID ID uint `json:"id"` // 订单ID
ProductID uint `json:"product_id"` // 商品ID OrderProductsID uint `json:"order_products_id"` // 订单商品ID
} }
type OrderCloseRefund struct { type OrderCloseRefund struct {

View File

@@ -24,7 +24,7 @@ const (
type ProductsChangeStockType = int type ProductsChangeStockType = int
const ( const (
ProductsChangeStockTypePaied ProductsChangeStockType = 10 // 已支付 ProductsChangeStockTypePlaced ProductsChangeStockType = 10 // 下单时
ProductsChangeStockTypeSent ProductsChangeStockType = 20 // 已发货 ProductsChangeStockTypeSent ProductsChangeStockType = 20 // 已发货
) )