Files
toutoukan/model/usermodel/userOrder/userorder.go
JACKYMYPERSON 2ab7614ea0 修改秒杀
2025-09-14 21:12:37 +08:00

14 lines
330 B
Go
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
package userOrder
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"`
}