notify.go 402 B

12345678910111213141516171819
  1. package model
  2. // consts
  3. const (
  4. ActUpdateExp = "updateExp"
  5. ActUpdateLevel = "updateLevel"
  6. ActUpdateFace = "updateFace"
  7. ActUpdateMoral = "updateMoral"
  8. ActUpdateUname = "updateUname"
  9. )
  10. // NotifyInfo notify info.
  11. type NotifyInfo struct {
  12. Uname string `json:"uname"`
  13. Mid int64 `json:"mid"`
  14. Type string `json:"type"`
  15. NewName string `json:"newName"`
  16. Action string `json:"action"`
  17. }