account_info.go 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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 string `json:"fans_low"`
  8. FansHigh string `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 int64 `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. }
  22. type AccountInfoPreView struct {
  23. AccountInfoData []*AccountInfoData `json:"account_info_data"`
  24. Total string `json:"total"`
  25. }
  26. func NewAccountInfoRequset() *AccountInfoRequest {
  27. return new(AccountInfoRequest)
  28. }
  29. func NewAccountInfoResponse() *CommonResponse {
  30. resp := new(CommonResponse)
  31. resp.Data = new(AccountInfoPreView)
  32. return resp
  33. }