修改秒杀

This commit is contained in:
JACKYMYPERSON
2025-09-14 21:12:37 +08:00
parent db98ed80e2
commit 2ab7614ea0
8 changed files with 314 additions and 257 deletions

View File

@@ -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"`
}