github.com/morlay/goqcloud@v0.0.0-20181123023149-b00e0b0b9afc/clients/youmall/describe_person_trace_detail.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/30163 9 10 type DescribePersonTraceDetailRequest struct { 11 // 卖场编码 12 MallId string `name:"MallId"` 13 // 客户编码 14 PersonId string `name:"PersonId"` 15 // 区域 16 Region string `name:"Region"` 17 // 轨迹编码 18 TraceId string `name:"TraceId"` 19 } 20 21 func (req *DescribePersonTraceDetailRequest) Invoke(client github_com_morlay_goqcloud.Client) (*DescribePersonTraceDetailResponse, error) { 22 resp := &DescribePersonTraceDetailResponse{} 23 err := client.Request("youmall", "DescribePersonTraceDetail", "2018-02-28").Do(req, resp) 24 return resp, err 25 } 26 27 type DescribePersonTraceDetailResponse struct { 28 github_com_morlay_goqcloud.TencentCloudBaseResponse 29 // 轨迹点坐标序列 30 CoordinateSet []*PersonCoordinate `json:"CoordinateSet"` 31 // 卖场编码 32 MallId string `json:"MallId"` 33 // 客户编码 34 PersonId string `json:"PersonId"` 35 // 轨迹编码 36 TraceId string `json:"TraceId"` 37 }