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

     1  package youmall
     2  
     3  import (
     4  	github_com_morlay_goqcloud "github.com/morlay/goqcloud"
     5  )
     6  
     7  // 获取已绑定收银台顾客FaceID
     8  // https://cloud.tencent.com/document/api/860/19899
     9  
    10  type DescribeFaceIDByTempIDRequest struct {
    11  	// 摄像头id
    12  	CameraId int64 `name:"CameraId"`
    13  	// 优mall集团id,通过"指定身份标识获取客户门店列表"接口获取
    14  	CompanyId string `name:"CompanyId"`
    15  	// 图片url过期时间:在当前时间+PictureExpires秒后,图片url无法继续正常访问;单位s;默认值12460*60(1天)
    16  	PictureExpires *int64 `name:"PictureExpires,omitempty"`
    17  	// pos机id
    18  	PosId *string `name:"PosId,omitempty"`
    19  	// 区域
    20  	Region string `name:"Region"`
    21  	// 优mall店铺id,通过"指定身份标识获取客户门店列表"接口获取
    22  	ShopId int64 `name:"ShopId"`
    23  	// 临时id
    24  	TempId string `name:"TempId"`
    25  }
    26  
    27  func (req *DescribeFaceIDByTempIDRequest) Invoke(client github_com_morlay_goqcloud.Client) (*DescribeFaceIDByTempIDResponse, error) {
    28  	resp := &DescribeFaceIDByTempIDResponse{}
    29  	err := client.Request("youmall", "DescribeFaceIdByTempId", "2018-02-28").Do(req, resp)
    30  	return resp, err
    31  }
    32  
    33  type DescribeFaceIDByTempIDResponse struct {
    34  	github_com_morlay_goqcloud.TencentCloudBaseResponse
    35  	// 摄像机id
    36  	CameraId int64 `json:"CameraId"`
    37  	// 集团id
    38  	CompanyId string `json:"CompanyId"`
    39  	// 临时id对应的face id
    40  	FaceId int64 `json:"FaceId"`
    41  	// 顾客属性信息
    42  	PersonInfo PersonInfo `json:"PersonInfo"`
    43  	// pos机id
    44  	PosId string `json:"PosId"`
    45  	// 店铺id
    46  	ShopId int64 `json:"ShopId"`
    47  	// 请求的临时id
    48  	TempId string `json:"TempId"`
    49  }