userWithdrawEvent.go 927 B

12345678910111213141516171819202122
  1. package eventmodels
  2. // 用户提现事件
  3. type UserWithdrawEventContent struct {
  4. UserBasic
  5. EventBasic
  6. WithdrawId string `json:"withdraw_id"` // 提现记录id
  7. Currency string `json:"currency"` // 货币类型 范围:constant.CurrencyTypeStr
  8. Ip string `json:"ip"` // IP
  9. Platform string `json:"platform"` // 平台
  10. Channel string `json:"channel"` // 渠道
  11. Address string `json:"address"` // 提现地址
  12. BeforeBalance int64 `json:"before_balance"` // 提现前余额
  13. Amount int64 `json:"amount"` // 提现金额
  14. AfterBalance int64 `json:"after_balance"` // 提现后余额
  15. Reason string `json:"reason"` // 提现原因
  16. State int `json:"state"` // 服务器是否已经处理 0 未处理 1已处理
  17. }
  18. func (e *UserWithdrawEventContent) EventName() string {
  19. return "UserWithdraw"
  20. }