account_info.go 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. package http_model
  2. type AccountInfoRequest struct {
  3. PageSize int32 `json:"page_size"`
  4. PageNum int32 `json:"page_num"`
  5. PlatformID string `json:"platform_id"`
  6. BindDate string `json:"bind_date"`
  7. FansLow int64 `json:"fans_low"`
  8. FansHigh int64 `json:"fans_high"`
  9. TalentId string `json:"talent_id"`
  10. PlatformNickname string `json:"platform_nickname"`
  11. }
  12. type AccountInfoData struct {
  13. TalentId string `json:"talent_id"` //创作者ID
  14. PlatformNickname string `json:"platform_nickname"` //账号昵称
  15. Platform string `json:"platform"` //社媒平台
  16. Fans string `json:"fans"` //粉丝量
  17. Phone string `json:"phone"` //联系方式
  18. BindDate string `json:"bind_date"` // 绑定时间
  19. HomePageCaptureUrl string `json:"home_page_capture_url"` //主页截图链接
  20. HomePageUrl string `json:"home_page_url"` //主页链接
  21. PlatformType string `json:"platform_type"` //标签及类型
  22. }
  23. type AccountInfoPreView struct {
  24. AccountInfoData []*AccountInfoData `json:"account_info_data"`
  25. Total string `json:"total"`
  26. }
  27. func NewAccountInfoRequset() *AccountInfoRequest {
  28. return new(AccountInfoRequest)
  29. }
  30. func NewAccountInfoResponse() *CommonResponse {
  31. resp := new(CommonResponse)
  32. resp.Data = new(AccountInfoPreView)
  33. return resp
  34. }