payOrderGoodBonus.go
360 字节
package event
const (
PAY_ORDER_GOOD_BONUS_EVENT string = "PayOrderGoodBonus"
)
//PayOrderGoodBonus
//事件:支付订单中货品的分红
type PayOrderGoodBonus struct {
//订单id
OrderId int64
//订单中的货品id
GoodId int64
//管理员id
AdminId int64
}
func (p PayOrderGoodBonus) EventType() string {
return PAY_ORDER_GOOD_BONUS_EVENT
}