github.com/morlay/goqcloud@v0.0.0-20181123023149-b00e0b0b9afc/clients/youmall/describe_cluster_person_trace.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/30167
    10  
    11  type DescribeClusterPersonTraceRequest 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 *DescribeClusterPersonTraceRequest) Invoke(client github_com_morlay_goqcloud.Client) (*DescribeClusterPersonTraceResponse, error) {
    25  	resp := &DescribeClusterPersonTraceResponse{}
    26  	err := client.Request("youmall", "DescribeClusterPersonTrace", "2018-02-28").Do(req, resp)
    27  	return resp, err
    28  }
    29  
    30  type DescribeClusterPersonTraceResponse struct {
    31  	github_com_morlay_goqcloud.TencentCloudBaseResponse
    32  	// 卖场用户编码
    33  	MallCode string `json:"MallCode"`
    34  	// 卖场系统编码
    35  	MallId string `json:"MallId"`
    36  	// 客户编码
    37  	PersonId string `json:"PersonId"`
    38  	// 轨迹序列
    39  	TracePointSet []*DailyTracePoint `json:"TracePointSet"`
    40  }