修改秒杀
This commit is contained in:
@@ -4,3 +4,10 @@ type UserRequest struct {
|
||||
UserID int `json:"user_id"`
|
||||
Order string `json:"userorder"` // 对应商品标识:stock10000 ~ stock10004
|
||||
}
|
||||
|
||||
type OrderMessage struct {
|
||||
OrderID string `json:"order_id"`
|
||||
GoodsID string `json:"goods_id"`
|
||||
UserID int `json:"user_id"`
|
||||
Quantity int `json:"quantity"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user