feat: implement new structure

This commit is contained in:
2025-12-29 09:30:49 +08:00
parent 503b15aab7
commit ad52371028
116 changed files with 17579 additions and 1213 deletions

View File

@@ -0,0 +1,23 @@
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
}