user_withdrawal.go 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. package entity
  2. // UserWithdrawalResp \game\game_cluster\nodes\webadmin\entity\user_withdrawal.go
  3. type UserWithdrawalResp struct {
  4. Id string `json:"id" bson:"_id"` // Id
  5. UserName string `json:"user_name" bson:"userName"` // 用户ID
  6. NickName string `json:"nick_name" bson:"nickName"` // 昵称
  7. Status int `json:"status" bson:"status"` // 0:未审核 1:审核通过 2:审核失败
  8. Reason string `json:"reason" bson:"reason"` // 提现原因
  9. Withdrawal int `json:"withdrawal" bson:"withdrawal"` // 提现 1:提现成功 2:提现中 3:提现失败 4:拒绝提现
  10. Amount int `json:"amount" bson:"amount"` // 提现金额
  11. AfterAmount int `json:"after_amount" bson:"after_amount"` // 提现后金额
  12. Type interface{} `json:"type" bson:"type"` // 货币内型
  13. Address string `json:"address" bson:"address"` // 地址
  14. CreateAt interface{} `json:"createAt" bson:"createAt"` // 提现时间
  15. UpdateAt interface{} `json:"updateAt" bson:"updateAt"`
  16. }
  17. type UserWithdrawalReq struct {
  18. UserName string `json:"user_name" bson:"user_name"` // 用户ID
  19. NickName string `json:"nick_name" bson:"nick_name"` // 昵称
  20. ID string `json:"id" bson:"id"` // ID
  21. StartTime int64 `json:"start_time"` // 开始时间
  22. EndTime int64 `json:"end_time"` // 结束时间
  23. Page int `json:"page"` // 页码
  24. Size int `json:"size"` // 每页数量
  25. }
  26. type UserWithdrawalStatus struct {
  27. UserName string `json:"user_name" bson:"user_name" binding:"required"` // 用户ID
  28. Status int `json:"status" bson:"status" ` // 0:未审核 1:审核通过 2:审核失败
  29. Withdrawal int `json:"withdrawal" bson:"withdrawal"` // 提现 1:提现成功 2:提现中 3:提现失败 4:拒绝提现
  30. }
  31. type UserWithdrawalStatusBatch struct {
  32. ID []string `json:"id" bson:"id" binding:"required"` // 用户ID
  33. Status int `json:"status" bson:"status"` // 0:未审核 1:审核通过 2:审核失败
  34. Withdrawal int `json:"withdrawal" bson:"withdrawal"` // 提现 1:提现成功 2:提现中 3:提现失败 4:拒绝提现
  35. }