golang 的 rabbitmq 消费项目
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

34 lines
752 B

  1. package md
  2. import (
  3. "applet/app/db/model"
  4. "applet/app/lib/arkid"
  5. )
  6. type UserInfoResponse struct {
  7. Avatar string `json:"avatar"`
  8. NickName string `json:"nickname"`
  9. Gender string `json:"gender"`
  10. Birthday string `json:"birthday"`
  11. RegisterTime string `json:"register_time"`
  12. FileBucketURL string `json:"file_bucket_url"`
  13. FileFormat string `json:"file_format"`
  14. IsNoChange string `json:"is_no_change"`
  15. IsUpLoadWx string `json:"is_upload_wx"`
  16. }
  17. type User struct {
  18. Ark *arkid.ArkIDUser
  19. Info *model.User
  20. Profile *model.UserProfile
  21. Level *model.UserLevel
  22. Tags []string
  23. }
  24. type UserRelation struct {
  25. Uid int
  26. CurUid int
  27. Diff int // 与当前用户级别差
  28. Level int // 用户当前等级
  29. }