Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
7b557072f3 | ||
![]() |
8d6f2b31f2 |
4
order.go
4
order.go
@@ -22,8 +22,8 @@ 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 {
|
||||||
|
@@ -24,8 +24,8 @@ const (
|
|||||||
type ProductsChangeStockType = int
|
type ProductsChangeStockType = int
|
||||||
|
|
||||||
const (
|
const (
|
||||||
ProductsChangeStockTypePaied ProductsChangeStockType = 10 // 已支付
|
ProductsChangeStockTypePlaced ProductsChangeStockType = 10 // 下单时
|
||||||
ProductsChangeStockTypeSent ProductsChangeStockType = 20 // 已发货
|
ProductsChangeStockTypeSent ProductsChangeStockType = 20 // 已发货
|
||||||
)
|
)
|
||||||
|
|
||||||
type ProductsChangeStock struct {
|
type ProductsChangeStock struct {
|
||||||
|
Reference in New Issue
Block a user