github.com/morlay/goqcloud@v0.0.0-20181123023149-b00e0b0b9afc/clients/youmall/describe_zone_flow_gender_info_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/20414 9 10 type DescribeZoneFlowGenderInfoByZoneIDRequest 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 *DescribeZoneFlowGenderInfoByZoneIDRequest) Invoke(client github_com_morlay_goqcloud.Client) (*DescribeZoneFlowGenderInfoByZoneIDResponse, error) { 26 resp := &DescribeZoneFlowGenderInfoByZoneIDResponse{} 27 err := client.Request("youmall", "DescribeZoneFlowGenderInfoByZoneId", "2018-02-28").Do(req, resp) 28 return resp, err 29 } 30 31 type DescribeZoneFlowGenderInfoByZoneIDResponse struct { 32 github_com_morlay_goqcloud.TencentCloudBaseResponse 33 // 集团ID 34 CompanyId string `json:"CompanyId"` 35 // 女性占比 36 FemalePercent float64 `json:"FemalePercent"` 37 // 男性占比 38 MalePercent float64 `json:"MalePercent"` 39 // 店铺ID 40 ShopId int64 `json:"ShopId"` 41 // 区域ID 42 ZoneId int64 `json:"ZoneId"` 43 // 区域名称 44 ZoneName string `json:"ZoneName"` 45 }