Files
quyun-v2/backend/app/http/v1/dto/order.go
2025-12-29 09:30:49 +08:00

24 lines
473 B
Go

package dto
type OrderCreateForm struct {
ContentID string `json:"contentId"`
Sku string `json:"sku"`
Quantity int `json:"quantity"`
}
type OrderCreateResponse struct {
OrderID string `json:"orderId"`
}
type OrderPayForm struct {
Method string `json:"method"` // wechat, alipay, balance
}
type OrderPayResponse struct {
PayParams string `json:"payParams"`
}
type OrderStatusResponse struct {
Status string `json:"status"` // unpaid, paid, completed
}