Files
quyun/backend/database/fields/orders.go
2025-05-06 19:21:41 +08:00

17 lines
357 B
Go

package fields
import (
"quyun/providers/wepay"
"github.com/go-pay/gopay/wechat/v3"
)
// swagger:enum OrderStatus
// ENUM( pending, paid, refunding, refunded, cancelled, completed)
type OrderStatus int16
type OrderMeta struct {
PayNotify wepay.PayNotify `json:"pay_notify"`
RefundResp *wechat.RefundOrderResponse `json:"refund_resp"`
}