发货结果通知接口新增 game_channel、game_uid、role_name、pay_score 字段

This commit is contained in:
yml2213
2026-07-24 15:15:19 +08:00
parent f9dc80e563
commit 73047b74df
3 changed files with 55 additions and 16 deletions
+5
View File
@@ -70,6 +70,11 @@ type Order struct {
ProviderOrderNo string `gorm:"size:64;index" json:"provider_order_no"` // 上游单号
ShippedAt *time.Time `json:"shipped_at"` // 发货成功时间
ShipFailReason string `gorm:"size:512" json:"ship_fail_reason"` // 最近一次失败原因
GameChannel string `gorm:"size:64" json:"game_channel"` // 账号区服(安卓/IOS-微信/QQ)
GameUID string `gorm:"size:128" json:"game_uid"` // 游戏角色UUID
RoleName string `gorm:"size:64" json:"role_name"` // 角色名
PayScore int `gorm:"default:0" json:"pay_score"` // 消耗积分
}
// 订单状态