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

     1  package youmall
     2  
     3  import (
     4  	github_com_morlay_goqcloud "github.com/morlay/goqcloud"
     5  	time "time"
     6  )
     7  
     8  // 查询客户到场信息(按天聚合)
     9  // https://cloud.tencent.com/document/api/860/30168
    10  
    11  type DescribeClusterPersonArrivedMallRequest struct {
    12  	// 查询结束时间
    13  	EndTime time.Time `name:"EndTime"`
    14  	// 卖场编码
    15  	MallId string `name:"MallId"`
    16  	// 客户编码
    17  	PersonId string `name:"PersonId"`
    18  	// 区域
    19  	Region string `name:"Region"`
    20  	// 查询开始时间
    21  	StartTime time.Time `name:"StartTime"`
    22  }
    23  
    24  func (req *DescribeClusterPersonArrivedMallRequest) Invoke(client github_com_morlay_goqcloud.Client) (*DescribeClusterPersonArrivedMallResponse, error) {
    25  	resp := &DescribeClusterPersonArrivedMallResponse{}
    26  	err := client.Request("youmall", "DescribeClusterPersonArrivedMall", "2018-02-28").Do(req, resp)
    27  	return resp, err
    28  }
    29  
    30  type DescribeClusterPersonArrivedMallResponse struct {
    31  	github_com_morlay_goqcloud.TencentCloudBaseResponse
    32  	// 到场信息
    33  	ArrivedMallSet []*ArrivedMallInfo `json:"ArrivedMallSet"`
    34  	// 卖场客户编码
    35  	MallCode string `json:"MallCode"`
    36  	// 卖场系统编码
    37  	MallId string `json:"MallId"`
    38  	// 客户编码
    39  	PersonId string `json:"PersonId"`
    40  }