opt: verify the order in notify callback

This commit is contained in:
RockYang
2024-01-22 13:58:25 +08:00
parent 66c7717f04
commit 3ad8065e20
9 changed files with 168 additions and 58 deletions

View File

@@ -12,6 +12,7 @@ type Order struct {
ProductId uint
Username string
OrderNo string
TradeNo string
Subject string
Amount float64
Status types.OrderStatus

View File

@@ -10,6 +10,7 @@ type Order struct {
ProductId uint `json:"product_id"`
Username string `json:"username"`
OrderNo string `json:"order_no"`
TradeNo string `json:"trade_no"`
Subject string `json:"subject"`
Amount float64 `json:"amount"`
Status types.OrderStatus `json:"status"`