message_staff.go 468 B

1234567891011121314151617181920212223
  1. package message
  2. const (
  3. //RouteBplusStaff pgc提交
  4. RouteBplusStaff = "bplus_staff"
  5. )
  6. type StaffBox struct {
  7. RID int64 `json:"rid"`
  8. Type int8 `json:"type"`
  9. ADDStaff []*StaffItem `json:"added_staffs"`
  10. DelStaff []*StaffItem `json:"removed_staffs"`
  11. }
  12. type StaffItem struct {
  13. Type int8 `json:"uid_type"`
  14. UID int64 `json:"uid"`
  15. }
  16. // BplusCardMsg 粉丝动态databus消息
  17. type BplusCardMsg struct {
  18. Outbox *StaffBox `json:"outbox"`
  19. }