platform_acc_info.go 1015 B

1234567891011121314151617181920212223242526272829
  1. package http_model
  2. type PlatformAccInfoRequest struct {
  3. TalentId string `json:"talent_id"`
  4. }
  5. type PlatformAccInfoData struct {
  6. AccountId int `json:"account_id"` //账号所属id
  7. Platform string `json:"platform"` //社媒平台
  8. PlatformNickname string `json:"platform_nickname"` //账号昵称
  9. Fans string `json:"fans"` //粉丝量
  10. HomePageCaptureUrl string `json:"home_page_capture_url"` //主页截图链接
  11. HomePageUrl string `json:"home_page_url"` //主页链接
  12. }
  13. type PlatformAccInfoPreView struct {
  14. PlatformAccInfoData []*PlatformAccInfoData `json:"platform_acc_info_data"`
  15. Total string `json:"total"`
  16. }
  17. func NewPlatformAccInfoRequest() *PlatformAccInfoRequest {
  18. return new(PlatformAccInfoRequest)
  19. }
  20. func NewPlatformAccInfoResponse() *CommonResponse {
  21. resp := new(CommonResponse)
  22. resp.Data = new(PlatformAccInfoPreView)
  23. return resp
  24. }