github.com/morlay/goqcloud@v0.0.0-20181123023149-b00e0b0b9afc/clients/youmall/describe_zone_flow_daily_by_zone_id.go (about)

     1  package youmall
     2  
     3  import (
     4  	github_com_morlay_goqcloud "github.com/morlay/goqcloud"
     5  )
     6  
     7  // 获取指定区域每日客流量
     8  // https://cloud.tencent.com/document/api/860/20416
     9  
    10  type DescribeZoneFlowDailyByZoneIDRequest struct {
    11  	// 集团ID
    12  	CompanyId string `name:"CompanyId"`
    13  	// 结束日期,格式yyyy-MM-dd
    14  	EndDate string `name:"EndDate"`
    15  	// 区域
    16  	Region string `name:"Region"`
    17  	// 店铺ID
    18  	ShopId int64 `name:"ShopId"`
    19  	// 开始日期,格式yyyy-MM-dd
    20  	StartDate string `name:"StartDate"`
    21  	// 区域ID
    22  	ZoneId int64 `name:"ZoneId"`
    23  }
    24  
    25  func (req *DescribeZoneFlowDailyByZoneIDRequest) Invoke(client github_com_morlay_goqcloud.Client) (*DescribeZoneFlowDailyByZoneIDResponse, error) {
    26  	resp := &DescribeZoneFlowDailyByZoneIDResponse{}
    27  	err := client.Request("youmall", "DescribeZoneFlowDailyByZoneId", "2018-02-28").Do(req, resp)
    28  	return resp, err
    29  }
    30  
    31  type DescribeZoneFlowDailyByZoneIDResponse struct {
    32  	github_com_morlay_goqcloud.TencentCloudBaseResponse
    33  	// 集团id
    34  	CompanyId string `json:"CompanyId"`
    35  	// 每日人流量
    36  	Data []*ZoneDayFlow `json:"Data"`
    37  	// 店铺id
    38  	ShopId int64 `json:"ShopId"`
    39  	// 区域ID
    40  	ZoneId int64 `json:"ZoneId"`
    41  	// 区域名称
    42  	ZoneName string `json:"ZoneName"`
    43  }