Documentation
¶
Index ¶
- Constants
- type ArrivedMallInfo
- type CameraPersonInfo
- type Client
- func (c *Client) CreateAccount(request *CreateAccountRequest) (response *CreateAccountResponse, err error)
- func (c *Client) CreateFacePicture(request *CreateFacePictureRequest) (response *CreateFacePictureResponse, err error)
- func (c *Client) DeletePersonFeature(request *DeletePersonFeatureRequest) (response *DeletePersonFeatureResponse, err error)
- func (c *Client) DescribeCameraPerson(request *DescribeCameraPersonRequest) (response *DescribeCameraPersonResponse, err error)
- func (c *Client) DescribeClusterPersonArrivedMall(request *DescribeClusterPersonArrivedMallRequest) (response *DescribeClusterPersonArrivedMallResponse, err error)
- func (c *Client) DescribeClusterPersonTrace(request *DescribeClusterPersonTraceRequest) (response *DescribeClusterPersonTraceResponse, err error)
- func (c *Client) DescribeFaceIdByTempId(request *DescribeFaceIdByTempIdRequest) (response *DescribeFaceIdByTempIdResponse, err error)
- func (c *Client) DescribeHistoryNetworkInfo(request *DescribeHistoryNetworkInfoRequest) (response *DescribeHistoryNetworkInfoResponse, err error)
- func (c *Client) DescribeNetworkInfo(request *DescribeNetworkInfoRequest) (response *DescribeNetworkInfoResponse, err error)
- func (c *Client) DescribePerson(request *DescribePersonRequest) (response *DescribePersonResponse, err error)
- func (c *Client) DescribePersonArrivedMall(request *DescribePersonArrivedMallRequest) (response *DescribePersonArrivedMallResponse, err error)
- func (c *Client) DescribePersonInfo(request *DescribePersonInfoRequest) (response *DescribePersonInfoResponse, err error)
- func (c *Client) DescribePersonInfoByFacePicture(request *DescribePersonInfoByFacePictureRequest) (response *DescribePersonInfoByFacePictureResponse, err error)
- func (c *Client) DescribePersonTrace(request *DescribePersonTraceRequest) (response *DescribePersonTraceResponse, err error)
- func (c *Client) DescribePersonTraceDetail(request *DescribePersonTraceDetailRequest) (response *DescribePersonTraceDetailResponse, err error)
- func (c *Client) DescribePersonVisitInfo(request *DescribePersonVisitInfoRequest) (response *DescribePersonVisitInfoResponse, err error)
- func (c *Client) DescribeShopHourTrafficInfo(request *DescribeShopHourTrafficInfoRequest) (response *DescribeShopHourTrafficInfoResponse, err error)
- func (c *Client) DescribeShopInfo(request *DescribeShopInfoRequest) (response *DescribeShopInfoResponse, err error)
- func (c *Client) DescribeShopTrafficInfo(request *DescribeShopTrafficInfoRequest) (response *DescribeShopTrafficInfoResponse, err error)
- func (c *Client) DescribeTrajectoryData(request *DescribeTrajectoryDataRequest) (response *DescribeTrajectoryDataResponse, err error)
- func (c *Client) DescribeZoneFlowAgeInfoByZoneId(request *DescribeZoneFlowAgeInfoByZoneIdRequest) (response *DescribeZoneFlowAgeInfoByZoneIdResponse, err error)
- func (c *Client) DescribeZoneFlowAndStayTime(request *DescribeZoneFlowAndStayTimeRequest) (response *DescribeZoneFlowAndStayTimeResponse, err error)
- func (c *Client) DescribeZoneFlowDailyByZoneId(request *DescribeZoneFlowDailyByZoneIdRequest) (response *DescribeZoneFlowDailyByZoneIdResponse, err error)
- func (c *Client) DescribeZoneFlowGenderAvrStayTimeByZoneId(request *DescribeZoneFlowGenderAvrStayTimeByZoneIdRequest) (response *DescribeZoneFlowGenderAvrStayTimeByZoneIdResponse, err error)
- func (c *Client) DescribeZoneFlowGenderInfoByZoneId(request *DescribeZoneFlowGenderInfoByZoneIdRequest) (response *DescribeZoneFlowGenderInfoByZoneIdResponse, err error)
- func (c *Client) DescribeZoneFlowHourlyByZoneId(request *DescribeZoneFlowHourlyByZoneIdRequest) (response *DescribeZoneFlowHourlyByZoneIdResponse, err error)
- func (c *Client) DescribeZoneTrafficInfo(request *DescribeZoneTrafficInfoRequest) (response *DescribeZoneTrafficInfoResponse, err error)
- func (c *Client) ModifyPersonFeatureInfo(request *ModifyPersonFeatureInfoRequest) (response *ModifyPersonFeatureInfoResponse, err error)
- func (c *Client) ModifyPersonTagInfo(request *ModifyPersonTagInfoRequest) (response *ModifyPersonTagInfoResponse, err error)
- func (c *Client) ModifyPersonType(request *ModifyPersonTypeRequest) (response *ModifyPersonTypeResponse, err error)
- func (c *Client) RegisterCallback(request *RegisterCallbackRequest) (response *RegisterCallbackResponse, err error)
- type CreateAccountRequest
- type CreateAccountResponse
- type CreateFacePictureRequest
- type CreateFacePictureResponse
- type DailyTracePoint
- type DeletePersonFeatureRequest
- type DeletePersonFeatureResponse
- type DescribeCameraPersonRequest
- type DescribeCameraPersonResponse
- type DescribeClusterPersonArrivedMallRequest
- type DescribeClusterPersonArrivedMallResponse
- type DescribeClusterPersonTraceRequest
- type DescribeClusterPersonTraceResponse
- type DescribeFaceIdByTempIdRequest
- type DescribeFaceIdByTempIdResponse
- type DescribeHistoryNetworkInfoRequest
- type DescribeHistoryNetworkInfoResponse
- type DescribeNetworkInfoRequest
- type DescribeNetworkInfoResponse
- type DescribePersonArrivedMallRequest
- type DescribePersonArrivedMallResponse
- type DescribePersonInfoByFacePictureRequest
- type DescribePersonInfoByFacePictureResponse
- type DescribePersonInfoRequest
- type DescribePersonInfoResponse
- type DescribePersonRequest
- type DescribePersonResponse
- type DescribePersonTraceDetailRequest
- type DescribePersonTraceDetailResponse
- type DescribePersonTraceRequest
- type DescribePersonTraceResponse
- type DescribePersonVisitInfoRequest
- type DescribePersonVisitInfoResponse
- type DescribeShopHourTrafficInfoRequest
- type DescribeShopHourTrafficInfoResponse
- type DescribeShopInfoRequest
- type DescribeShopInfoResponse
- type DescribeShopTrafficInfoRequest
- type DescribeShopTrafficInfoResponse
- type DescribeTrajectoryDataRequest
- type DescribeTrajectoryDataResponse
- type DescribeZoneFlowAgeInfoByZoneIdRequest
- type DescribeZoneFlowAgeInfoByZoneIdResponse
- type DescribeZoneFlowAndStayTimeRequest
- type DescribeZoneFlowAndStayTimeResponse
- type DescribeZoneFlowDailyByZoneIdRequest
- type DescribeZoneFlowDailyByZoneIdResponse
- type DescribeZoneFlowGenderAvrStayTimeByZoneIdRequest
- type DescribeZoneFlowGenderAvrStayTimeByZoneIdResponse
- type DescribeZoneFlowGenderInfoByZoneIdRequest
- type DescribeZoneFlowGenderInfoByZoneIdResponse
- type DescribeZoneFlowHourlyByZoneIdRequest
- type DescribeZoneFlowHourlyByZoneIdResponse
- type DescribeZoneTrafficInfoRequest
- type DescribeZoneTrafficInfoResponse
- type GenderAgeTrafficDetail
- type HourTrafficInfoDetail
- type ModifyPersonFeatureInfoRequest
- type ModifyPersonFeatureInfoResponse
- type ModifyPersonTagInfoRequest
- type ModifyPersonTagInfoResponse
- type ModifyPersonTypeRequest
- type ModifyPersonTypeResponse
- type NetworkAndShopInfo
- type NetworkHistoryInfo
- type NetworkInfo
- type NetworkLastInfo
- type PersonCoordinate
- type PersonInfo
- type PersonProfile
- type PersonTagInfo
- type PersonTracePoint
- type PersonTraceRoute
- type PersonVisitInfo
- type RegisterCallbackRequest
- type RegisterCallbackResponse
- type SceneInfo
- type ShopDayTrafficInfo
- type ShopHourTrafficInfo
- type ShopInfo
- type TrajectorySunData
- type ZoneAgeGroupAvrStayTime
- type ZoneDayFlow
- type ZoneFlowAndAvrStayTime
- type ZoneHourFlow
- type ZoneTrafficInfo
- type ZoneTrafficInfoDetail
Constants ¶
const APIVersion = "2018-02-28"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArrivedMallInfo ¶
type ArrivedMallInfo struct {
// 到场时间
ArrivedTime *string `json:"ArrivedTime,omitempty" name:"ArrivedTime"`
// 出场时间
LeaveTime *string `json:"LeaveTime,omitempty" name:"LeaveTime"`
// 停留时间,秒
StaySecond *uint64 `json:"StaySecond,omitempty" name:"StaySecond"`
// 到场抓拍图片
InCapPic *string `json:"InCapPic,omitempty" name:"InCapPic"`
// 出场抓拍图片
OutCapPic *string `json:"OutCapPic,omitempty" name:"OutCapPic"`
// 轨迹编码
TraceId *string `json:"TraceId,omitempty" name:"TraceId"`
}
type CameraPersonInfo ¶
type CameraPersonInfo struct {
// 临时id,还未生成face id时返回
TempId *string `json:"TempId,omitempty" name:"TempId"`
// 人脸face id
FaceId *int64 `json:"FaceId,omitempty" name:"FaceId"`
// 确定当次返回的哪个id有效,1-FaceId,2-TempId
IdType *int64 `json:"IdType,omitempty" name:"IdType"`
// 当次抓拍到的人脸图片base编码
FacePic *string `json:"FacePic,omitempty" name:"FacePic"`
// 当次抓拍时间戳
Time *int64 `json:"Time,omitempty" name:"Time"`
// 当前的person基本信息,图片以FacePic为准,结构体内未填
PersonInfo *PersonInfo `json:"PersonInfo,omitempty" name:"PersonInfo"`
}
type Client ¶
func NewClient ¶
func NewClient(credential *common.Credential, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) CreateAccount ¶
func (c *Client) CreateAccount(request *CreateAccountRequest) (response *CreateAccountResponse, err error)
创建集团门店管理员账号
func (*Client) CreateFacePicture ¶
func (c *Client) CreateFacePicture(request *CreateFacePictureRequest) (response *CreateFacePictureResponse, err error)
通过上传指定规格的人脸图片,创建黑名单用户或者白名单用户。
func (*Client) DeletePersonFeature ¶
func (c *Client) DeletePersonFeature(request *DeletePersonFeatureRequest) (response *DeletePersonFeatureResponse, err error)
删除顾客特征,仅支持删除黑名单或者白名单用户特征。
func (*Client) DescribeCameraPerson ¶
func (c *Client) DescribeCameraPerson(request *DescribeCameraPersonRequest) (response *DescribeCameraPersonResponse, err error)
通过指定设备ID和指定时段,获取该时段内中收银台摄像设备抓取到顾客头像及身份ID
func (*Client) DescribeClusterPersonArrivedMall ¶
func (c *Client) DescribeClusterPersonArrivedMall(request *DescribeClusterPersonArrivedMallRequest) (response *DescribeClusterPersonArrivedMallResponse, err error)
输出开始时间到结束时间段内的进出场数据。按天聚合的情况下,每天多次进出场算一次,以最初进场时间为进场时间,最后离场时间为离场时间。停留时间为多次进出场的停留时间之和。
func (*Client) DescribeClusterPersonTrace ¶
func (c *Client) DescribeClusterPersonTrace(request *DescribeClusterPersonTraceRequest) (response *DescribeClusterPersonTraceResponse, err error)
输出开始时间到结束时间段内的进出场数据。按天聚合的情况下,每天多次进出场算一次,以最初进场时间为进场时间,最后离场时间为离场时间。
func (*Client) DescribeFaceIdByTempId ¶
func (c *Client) DescribeFaceIdByTempId(request *DescribeFaceIdByTempIdRequest) (response *DescribeFaceIdByTempIdResponse, err error)
通过DescribeCameraPerson接口上报的收银台身份ID查询顾客的FaceID。查询最佳时间为收银台上报的次日1点后。
func (*Client) DescribeHistoryNetworkInfo ¶
func (c *Client) DescribeHistoryNetworkInfo(request *DescribeHistoryNetworkInfoRequest) (response *DescribeHistoryNetworkInfoResponse, err error)
返回当前门店历史网络状态数据
func (*Client) DescribeNetworkInfo ¶
func (c *Client) DescribeNetworkInfo(request *DescribeNetworkInfoRequest) (response *DescribeNetworkInfoResponse, err error)
返回当前门店最新网络状态数据
func (*Client) DescribePerson ¶
func (c *Client) DescribePerson(request *DescribePersonRequest) (response *DescribePersonResponse, err error)
查询指定某一卖场的用户信息
func (*Client) DescribePersonArrivedMall ¶
func (c *Client) DescribePersonArrivedMall(request *DescribePersonArrivedMallRequest) (response *DescribePersonArrivedMallResponse, err error)
输出开始时间到结束时间段内的进出场数据。不做按天聚合的情况下,每次进出场,产生一条进出场数据。
func (*Client) DescribePersonInfo ¶
func (c *Client) DescribePersonInfo(request *DescribePersonInfoRequest) (response *DescribePersonInfoResponse, err error)
指定门店获取所有顾客详情列表,包含客户ID、图片、年龄、性别
func (*Client) DescribePersonInfoByFacePicture ¶
func (c *Client) DescribePersonInfoByFacePicture(request *DescribePersonInfoByFacePictureRequest) (response *DescribePersonInfoByFacePictureResponse, err error)
通过上传人脸图片检索系统face id、顾客身份信息及底图
func (*Client) DescribePersonTrace ¶
func (c *Client) DescribePersonTrace(request *DescribePersonTraceRequest) (response *DescribePersonTraceResponse, err error)
输出开始时间到结束时间段内的进出场数据。
func (*Client) DescribePersonTraceDetail ¶
func (c *Client) DescribePersonTraceDetail(request *DescribePersonTraceDetailRequest) (response *DescribePersonTraceDetailResponse, err error)
查询客户单次到场轨迹明细
func (*Client) DescribePersonVisitInfo ¶
func (c *Client) DescribePersonVisitInfo(request *DescribePersonVisitInfoRequest) (response *DescribePersonVisitInfoResponse, err error)
获取门店指定时间范围内的所有用户到访信息记录,支持的时间范围:过去365天,含当天。
func (*Client) DescribeShopHourTrafficInfo ¶
func (c *Client) DescribeShopHourTrafficInfo(request *DescribeShopHourTrafficInfoRequest) (response *DescribeShopHourTrafficInfoResponse, err error)
按小时提供查询日期范围内门店的每天每小时累计客流人数数据,支持的时间范围:过去365天,含当天。
func (*Client) DescribeShopInfo ¶
func (c *Client) DescribeShopInfo(request *DescribeShopInfoRequest) (response *DescribeShopInfoResponse, err error)
根据客户身份标识获取客户下所有的门店信息列表
func (*Client) DescribeShopTrafficInfo ¶
func (c *Client) DescribeShopTrafficInfo(request *DescribeShopTrafficInfoRequest) (response *DescribeShopTrafficInfoResponse, err error)
按天提供查询日期范围内门店的单日累计客流人数,支持的时间范围:过去365天,含当天。
func (*Client) DescribeTrajectoryData ¶
func (c *Client) DescribeTrajectoryData(request *DescribeTrajectoryDataRequest) (response *DescribeTrajectoryDataResponse, err error)
获取动线轨迹信息
func (*Client) DescribeZoneFlowAgeInfoByZoneId ¶
func (c *Client) DescribeZoneFlowAgeInfoByZoneId(request *DescribeZoneFlowAgeInfoByZoneIdRequest) (response *DescribeZoneFlowAgeInfoByZoneIdResponse, err error)
获取指定区域人流各年龄占比
func (*Client) DescribeZoneFlowAndStayTime ¶
func (c *Client) DescribeZoneFlowAndStayTime(request *DescribeZoneFlowAndStayTimeRequest) (response *DescribeZoneFlowAndStayTimeResponse, err error)
获取区域人流和停留时间
func (*Client) DescribeZoneFlowDailyByZoneId ¶
func (c *Client) DescribeZoneFlowDailyByZoneId(request *DescribeZoneFlowDailyByZoneIdRequest) (response *DescribeZoneFlowDailyByZoneIdResponse, err error)
获取指定区域每日客流量
func (*Client) DescribeZoneFlowGenderAvrStayTimeByZoneId ¶
func (c *Client) DescribeZoneFlowGenderAvrStayTimeByZoneId(request *DescribeZoneFlowGenderAvrStayTimeByZoneIdRequest) (response *DescribeZoneFlowGenderAvrStayTimeByZoneIdResponse, err error)
获取指定区域不同年龄段男女平均停留时间
func (*Client) DescribeZoneFlowGenderInfoByZoneId ¶
func (c *Client) DescribeZoneFlowGenderInfoByZoneId(request *DescribeZoneFlowGenderInfoByZoneIdRequest) (response *DescribeZoneFlowGenderInfoByZoneIdResponse, err error)
获取指定区域性别占比
func (*Client) DescribeZoneFlowHourlyByZoneId ¶
func (c *Client) DescribeZoneFlowHourlyByZoneId(request *DescribeZoneFlowHourlyByZoneIdRequest) (response *DescribeZoneFlowHourlyByZoneIdResponse, err error)
获取指定区域分时客流量
func (*Client) DescribeZoneTrafficInfo ¶
func (c *Client) DescribeZoneTrafficInfo(request *DescribeZoneTrafficInfoRequest) (response *DescribeZoneTrafficInfoResponse, err error)
按天提供查询日期范围内,客户指定门店下的所有区域(优Mall部署时已配置区域)的累计客流人次和平均停留时间。支持的时间范围:过去365天,含当天。
func (*Client) ModifyPersonFeatureInfo ¶
func (c *Client) ModifyPersonFeatureInfo(request *ModifyPersonFeatureInfoRequest) (response *ModifyPersonFeatureInfoResponse, err error)
支持修改黑白名单类型的顾客特征
func (*Client) ModifyPersonTagInfo ¶
func (c *Client) ModifyPersonTagInfo(request *ModifyPersonTagInfoRequest) (response *ModifyPersonTagInfoResponse, err error)
标记到店顾客的身份类型,例如黑名单、白名单等
func (*Client) ModifyPersonType ¶
func (c *Client) ModifyPersonType(request *ModifyPersonTypeRequest) (response *ModifyPersonTypeResponse, err error)
修改顾客身份类型接口
func (*Client) RegisterCallback ¶
func (c *Client) RegisterCallback(request *RegisterCallbackRequest) (response *RegisterCallbackResponse, err error)
调用本接口在优Mall中注册自己集团的到店通知回调接口地址,接口协议为HTTP或HTTPS。注册后,若集团有特殊身份(例如老客)到店通知,优Mall后台将主动将到店信息push给该接口
type CreateAccountRequest ¶
type CreateAccountRequest struct {
*tchttp.BaseRequest
// 集团ID
CompanyId *string `json:"CompanyId,omitempty" name:"CompanyId"`
// 账号名;需要是手机号
Name *string `json:"Name,omitempty" name:"Name"`
// 密码;需要是(`~!@#$%^&*()_+=-)中的至少两种且八位以上
Password *string `json:"Password,omitempty" name:"Password"`
// 客户门店编码
ShopCode *string `json:"ShopCode,omitempty" name:"ShopCode"`
// 备注说明; 30个字符以内
Remark *string `json:"Remark,omitempty" name:"Remark"`
}
func NewCreateAccountRequest ¶
func NewCreateAccountRequest() (request *CreateAccountRequest)
func (*CreateAccountRequest) FromJsonString ¶
func (r *CreateAccountRequest) FromJsonString(s string) error
func (*CreateAccountRequest) ToJsonString ¶
func (r *CreateAccountRequest) ToJsonString() string
type CreateAccountResponse ¶
type CreateAccountResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewCreateAccountResponse ¶
func NewCreateAccountResponse() (response *CreateAccountResponse)
func (*CreateAccountResponse) FromJsonString ¶
func (r *CreateAccountResponse) FromJsonString(s string) error
func (*CreateAccountResponse) ToJsonString ¶
func (r *CreateAccountResponse) ToJsonString() string
type CreateFacePictureRequest ¶
type CreateFacePictureRequest struct {
*tchttp.BaseRequest
// 集团ID
CompanyId *string `json:"CompanyId,omitempty" name:"CompanyId"`
// 人物类型(0表示普通顾客,1 白名单,2 表示黑名单,101表示集团白名单,102表示集团黑名单)
PersonType *int64 `json:"PersonType,omitempty" name:"PersonType"`
// 图片BASE编码
Picture *string `json:"Picture,omitempty" name:"Picture"`
// 图片名称
PictureName *string `json:"PictureName,omitempty" name:"PictureName"`
// 店铺ID,如果不填表示操作集团身份库
ShopId *int64 `json:"ShopId,omitempty" name:"ShopId"`
// 是否强制更新:为ture时会为用户创建一个新的指定PersonType的身份;目前这个参数已废弃,可不传
IsForceUpload *bool `json:"IsForceUpload,omitempty" name:"IsForceUpload"`
}
func NewCreateFacePictureRequest ¶
func NewCreateFacePictureRequest() (request *CreateFacePictureRequest)
func (*CreateFacePictureRequest) FromJsonString ¶
func (r *CreateFacePictureRequest) FromJsonString(s string) error
func (*CreateFacePictureRequest) ToJsonString ¶
func (r *CreateFacePictureRequest) ToJsonString() string
type CreateFacePictureResponse ¶
type CreateFacePictureResponse struct {
*tchttp.BaseResponse
Response *struct {
// 人物ID
PersonId *int64 `json:"PersonId,omitempty" name:"PersonId"`
// 0.正常建档 1.重复身份 2.未检测到人脸 3.检测到多个人脸 4.人脸大小过小 5.人脸质量不达标 6.其他错误
Status *int64 `json:"Status,omitempty" name:"Status"`
// 图片url
PictureUrl *string `json:"PictureUrl,omitempty" name:"PictureUrl"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewCreateFacePictureResponse ¶
func NewCreateFacePictureResponse() (response *CreateFacePictureResponse)
func (*CreateFacePictureResponse) FromJsonString ¶
func (r *CreateFacePictureResponse) FromJsonString(s string) error
func (*CreateFacePictureResponse) ToJsonString ¶
func (r *CreateFacePictureResponse) ToJsonString() string
type DailyTracePoint ¶
type DailyTracePoint struct {
// 轨迹日期
TraceDate *string `json:"TraceDate,omitempty" name:"TraceDate"`
// 轨迹点序列
TracePointSet []*PersonTracePoint `json:"TracePointSet,omitempty" name:"TracePointSet" list`
}
type DeletePersonFeatureRequest ¶
type DeletePersonFeatureRequest struct {
*tchttp.BaseRequest
// 公司ID
CompanyId *string `json:"CompanyId,omitempty" name:"CompanyId"`
// 门店ID
ShopId *int64 `json:"ShopId,omitempty" name:"ShopId"`
// 顾客ID
PersonId *int64 `json:"PersonId,omitempty" name:"PersonId"`
}
func NewDeletePersonFeatureRequest ¶
func NewDeletePersonFeatureRequest() (request *DeletePersonFeatureRequest)
func (*DeletePersonFeatureRequest) FromJsonString ¶
func (r *DeletePersonFeatureRequest) FromJsonString(s string) error
func (*DeletePersonFeatureRequest) ToJsonString ¶
func (r *DeletePersonFeatureRequest) ToJsonString() string
type DeletePersonFeatureResponse ¶
type DeletePersonFeatureResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDeletePersonFeatureResponse ¶
func NewDeletePersonFeatureResponse() (response *DeletePersonFeatureResponse)
func (*DeletePersonFeatureResponse) FromJsonString ¶
func (r *DeletePersonFeatureResponse) FromJsonString(s string) error
func (*DeletePersonFeatureResponse) ToJsonString ¶
func (r *DeletePersonFeatureResponse) ToJsonString() string
type DescribeCameraPersonRequest ¶
type DescribeCameraPersonRequest struct {
*tchttp.BaseRequest
// 优mall集团id,通过"指定身份标识获取客户门店列表"接口获取
CompanyId *string `json:"CompanyId,omitempty" name:"CompanyId"`
// 优mall店铺id,通过"指定身份标识获取客户门店列表"接口获取
ShopId *int64 `json:"ShopId,omitempty" name:"ShopId"`
// 摄像头id
CameraId *int64 `json:"CameraId,omitempty" name:"CameraId"`
// 拉取开始时间戳,单位秒
StartTime *int64 `json:"StartTime,omitempty" name:"StartTime"`
// 拉取结束时间戳,单位秒,不超过StartTime+10秒,超过默认为StartTime+10
EndTime *int64 `json:"EndTime,omitempty" name:"EndTime"`
// pos机id
PosId *string `json:"PosId,omitempty" name:"PosId"`
// 拉取图片数,默认为1,最大为3
Num *int64 `json:"Num,omitempty" name:"Num"`
// 是否需要base64的图片,0-不需要,1-需要,默认0
IsNeedPic *int64 `json:"IsNeedPic,omitempty" name:"IsNeedPic"`
}
func NewDescribeCameraPersonRequest ¶
func NewDescribeCameraPersonRequest() (request *DescribeCameraPersonRequest)
func (*DescribeCameraPersonRequest) FromJsonString ¶
func (r *DescribeCameraPersonRequest) FromJsonString(s string) error
func (*DescribeCameraPersonRequest) ToJsonString ¶
func (r *DescribeCameraPersonRequest) ToJsonString() string
type DescribeCameraPersonResponse ¶
type DescribeCameraPersonResponse struct {
*tchttp.BaseResponse
Response *struct {
// 集团id
CompanyId *string `json:"CompanyId,omitempty" name:"CompanyId"`
// 店铺id
ShopId *int64 `json:"ShopId,omitempty" name:"ShopId"`
// 摄像机id
CameraId *int64 `json:"CameraId,omitempty" name:"CameraId"`
// pos机id
PosId *string `json:"PosId,omitempty" name:"PosId"`
// 抓取的顾客信息
Infos []*CameraPersonInfo `json:"Infos,omitempty" name:"Infos" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeCameraPersonResponse ¶
func NewDescribeCameraPersonResponse() (response *DescribeCameraPersonResponse)
func (*DescribeCameraPersonResponse) FromJsonString ¶
func (r *DescribeCameraPersonResponse) FromJsonString(s string) error
func (*DescribeCameraPersonResponse) ToJsonString ¶
func (r *DescribeCameraPersonResponse) ToJsonString() string
type DescribeClusterPersonArrivedMallRequest ¶
type DescribeClusterPersonArrivedMallRequest struct {
*tchttp.BaseRequest
// 卖场编码
MallId *string `json:"MallId,omitempty" name:"MallId"`
// 客户编码
PersonId *string `json:"PersonId,omitempty" name:"PersonId"`
// 查询开始时间
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 查询结束时间
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
}
func NewDescribeClusterPersonArrivedMallRequest ¶
func NewDescribeClusterPersonArrivedMallRequest() (request *DescribeClusterPersonArrivedMallRequest)
func (*DescribeClusterPersonArrivedMallRequest) FromJsonString ¶
func (r *DescribeClusterPersonArrivedMallRequest) FromJsonString(s string) error
func (*DescribeClusterPersonArrivedMallRequest) ToJsonString ¶
func (r *DescribeClusterPersonArrivedMallRequest) ToJsonString() string
type DescribeClusterPersonArrivedMallResponse ¶
type DescribeClusterPersonArrivedMallResponse struct {
*tchttp.BaseResponse
Response *struct {
// 卖场系统编码
MallId *string `json:"MallId,omitempty" name:"MallId"`
// 卖场客户编码
MallCode *string `json:"MallCode,omitempty" name:"MallCode"`
// 客户编码
PersonId *string `json:"PersonId,omitempty" name:"PersonId"`
// 到场信息
ArrivedMallSet []*ArrivedMallInfo `json:"ArrivedMallSet,omitempty" name:"ArrivedMallSet" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeClusterPersonArrivedMallResponse ¶
func NewDescribeClusterPersonArrivedMallResponse() (response *DescribeClusterPersonArrivedMallResponse)
func (*DescribeClusterPersonArrivedMallResponse) FromJsonString ¶
func (r *DescribeClusterPersonArrivedMallResponse) FromJsonString(s string) error
func (*DescribeClusterPersonArrivedMallResponse) ToJsonString ¶
func (r *DescribeClusterPersonArrivedMallResponse) ToJsonString() string
type DescribeClusterPersonTraceRequest ¶
type DescribeClusterPersonTraceRequest struct {
*tchttp.BaseRequest
// 卖场编码
MallId *string `json:"MallId,omitempty" name:"MallId"`
// 客户编码
PersonId *string `json:"PersonId,omitempty" name:"PersonId"`
// 查询开始时间
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 查询结束时间
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
}
func NewDescribeClusterPersonTraceRequest ¶
func NewDescribeClusterPersonTraceRequest() (request *DescribeClusterPersonTraceRequest)
func (*DescribeClusterPersonTraceRequest) FromJsonString ¶
func (r *DescribeClusterPersonTraceRequest) FromJsonString(s string) error
func (*DescribeClusterPersonTraceRequest) ToJsonString ¶
func (r *DescribeClusterPersonTraceRequest) ToJsonString() string
type DescribeClusterPersonTraceResponse ¶
type DescribeClusterPersonTraceResponse struct {
*tchttp.BaseResponse
Response *struct {
// 卖场系统编码
MallId *string `json:"MallId,omitempty" name:"MallId"`
// 卖场用户编码
MallCode *string `json:"MallCode,omitempty" name:"MallCode"`
// 客户编码
PersonId *string `json:"PersonId,omitempty" name:"PersonId"`
// 轨迹序列
TracePointSet []*DailyTracePoint `json:"TracePointSet,omitempty" name:"TracePointSet" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeClusterPersonTraceResponse ¶
func NewDescribeClusterPersonTraceResponse() (response *DescribeClusterPersonTraceResponse)
func (*DescribeClusterPersonTraceResponse) FromJsonString ¶
func (r *DescribeClusterPersonTraceResponse) FromJsonString(s string) error
func (*DescribeClusterPersonTraceResponse) ToJsonString ¶
func (r *DescribeClusterPersonTraceResponse) ToJsonString() string
type DescribeFaceIdByTempIdRequest ¶
type DescribeFaceIdByTempIdRequest struct {
*tchttp.BaseRequest
// 优mall集团id,通过"指定身份标识获取客户门店列表"接口获取
CompanyId *string `json:"CompanyId,omitempty" name:"CompanyId"`
// 优mall店铺id,通过"指定身份标识获取客户门店列表"接口获取
ShopId *int64 `json:"ShopId,omitempty" name:"ShopId"`
// 临时id
TempId *string `json:"TempId,omitempty" name:"TempId"`
// 摄像头id
CameraId *int64 `json:"CameraId,omitempty" name:"CameraId"`
// pos机id
PosId *string `json:"PosId,omitempty" name:"PosId"`
// 图片url过期时间:在当前时间+PictureExpires秒后,图片url无法继续正常访问;单位s;默认值1*24*60*60(1天)
PictureExpires *int64 `json:"PictureExpires,omitempty" name:"PictureExpires"`
}
func NewDescribeFaceIdByTempIdRequest ¶
func NewDescribeFaceIdByTempIdRequest() (request *DescribeFaceIdByTempIdRequest)
func (*DescribeFaceIdByTempIdRequest) FromJsonString ¶
func (r *DescribeFaceIdByTempIdRequest) FromJsonString(s string) error
func (*DescribeFaceIdByTempIdRequest) ToJsonString ¶
func (r *DescribeFaceIdByTempIdRequest) ToJsonString() string
type DescribeFaceIdByTempIdResponse ¶
type DescribeFaceIdByTempIdResponse struct {
*tchttp.BaseResponse
Response *struct {
// 集团id
CompanyId *string `json:"CompanyId,omitempty" name:"CompanyId"`
// 店铺id
ShopId *int64 `json:"ShopId,omitempty" name:"ShopId"`
// 摄像机id
CameraId *int64 `json:"CameraId,omitempty" name:"CameraId"`
// pos机id
PosId *string `json:"PosId,omitempty" name:"PosId"`
// 请求的临时id
TempId *string `json:"TempId,omitempty" name:"TempId"`
// 临时id对应的face id
FaceId *int64 `json:"FaceId,omitempty" name:"FaceId"`
// 顾客属性信息
PersonInfo *PersonInfo `json:"PersonInfo,omitempty" name:"PersonInfo"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeFaceIdByTempIdResponse ¶
func NewDescribeFaceIdByTempIdResponse() (response *DescribeFaceIdByTempIdResponse)
func (*DescribeFaceIdByTempIdResponse) FromJsonString ¶
func (r *DescribeFaceIdByTempIdResponse) FromJsonString(s string) error
func (*DescribeFaceIdByTempIdResponse) ToJsonString ¶
func (r *DescribeFaceIdByTempIdResponse) ToJsonString() string
type DescribeHistoryNetworkInfoRequest ¶
type DescribeHistoryNetworkInfoRequest struct {
*tchttp.BaseRequest
// 请求时间戳
Time *int64 `json:"Time,omitempty" name:"Time"`
// 优mall集团id,通过"指定身份标识获取客户门店列表"接口获取
CompanyId *string `json:"CompanyId,omitempty" name:"CompanyId"`
// 优mall店铺id,通过"指定身份标识获取客户门店列表"接口获取,为0则拉取集团全部店铺当前
ShopId *int64 `json:"ShopId,omitempty" name:"ShopId"`
// 拉取开始日期,格式:2018-09-05
StartDay *string `json:"StartDay,omitempty" name:"StartDay"`
// 拉取结束日期,格式L:2018-09-05,超过StartDay 90天,按StartDay+90天算
EndDay *string `json:"EndDay,omitempty" name:"EndDay"`
// 拉取条数,默认10
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 拉取偏移,返回offset之后的数据
Offset *int64 `json:"Offset,omitempty" name:"Offset"`
}
func NewDescribeHistoryNetworkInfoRequest ¶
func NewDescribeHistoryNetworkInfoRequest() (request *DescribeHistoryNetworkInfoRequest)
func (*DescribeHistoryNetworkInfoRequest) FromJsonString ¶
func (r *DescribeHistoryNetworkInfoRequest) FromJsonString(s string) error
func (*DescribeHistoryNetworkInfoRequest) ToJsonString ¶
func (r *DescribeHistoryNetworkInfoRequest) ToJsonString() string
type DescribeHistoryNetworkInfoResponse ¶
type DescribeHistoryNetworkInfoResponse struct {
*tchttp.BaseResponse
Response *struct {
// 网络状态数据
InstanceSet *NetworkHistoryInfo `json:"InstanceSet,omitempty" name:"InstanceSet"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeHistoryNetworkInfoResponse ¶
func NewDescribeHistoryNetworkInfoResponse() (response *DescribeHistoryNetworkInfoResponse)
func (*DescribeHistoryNetworkInfoResponse) FromJsonString ¶
func (r *DescribeHistoryNetworkInfoResponse) FromJsonString(s string) error
func (*DescribeHistoryNetworkInfoResponse) ToJsonString ¶
func (r *DescribeHistoryNetworkInfoResponse) ToJsonString() string
type DescribeNetworkInfoRequest ¶
type DescribeNetworkInfoRequest struct {
*tchttp.BaseRequest
// 请求时间戳
Time *int64 `json:"Time,omitempty" name:"Time"`
// 优mall集团id,通过"指定身份标识获取客户门店列表"接口获取
CompanyId *string `json:"CompanyId,omitempty" name:"CompanyId"`
// 优mall店铺id,通过"指定身份标识获取客户门店列表"接口获取,不填则拉取集团全部店铺当前
ShopId *int64 `json:"ShopId,omitempty" name:"ShopId"`
}
func NewDescribeNetworkInfoRequest ¶
func NewDescribeNetworkInfoRequest() (request *DescribeNetworkInfoRequest)
func (*DescribeNetworkInfoRequest) FromJsonString ¶
func (r *DescribeNetworkInfoRequest) FromJsonString(s string) error
func (*DescribeNetworkInfoRequest) ToJsonString ¶
func (r *DescribeNetworkInfoRequest) ToJsonString() string
type DescribeNetworkInfoResponse ¶
type DescribeNetworkInfoResponse struct {
*tchttp.BaseResponse
Response *struct {
// 网络状态详情
InstanceSet *NetworkLastInfo `json:"InstanceSet,omitempty" name:"InstanceSet"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeNetworkInfoResponse ¶
func NewDescribeNetworkInfoResponse() (response *DescribeNetworkInfoResponse)
func (*DescribeNetworkInfoResponse) FromJsonString ¶
func (r *DescribeNetworkInfoResponse) FromJsonString(s string) error
func (*DescribeNetworkInfoResponse) ToJsonString ¶
func (r *DescribeNetworkInfoResponse) ToJsonString() string
type DescribePersonArrivedMallRequest ¶
type DescribePersonArrivedMallRequest struct {
*tchttp.BaseRequest
// 卖场编码
MallId *string `json:"MallId,omitempty" name:"MallId"`
// 客户编码
PersonId *string `json:"PersonId,omitempty" name:"PersonId"`
// 查询开始时间
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 查询结束时间
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
}
func NewDescribePersonArrivedMallRequest ¶
func NewDescribePersonArrivedMallRequest() (request *DescribePersonArrivedMallRequest)
func (*DescribePersonArrivedMallRequest) FromJsonString ¶
func (r *DescribePersonArrivedMallRequest) FromJsonString(s string) error
func (*DescribePersonArrivedMallRequest) ToJsonString ¶
func (r *DescribePersonArrivedMallRequest) ToJsonString() string
type DescribePersonArrivedMallResponse ¶
type DescribePersonArrivedMallResponse struct {
*tchttp.BaseResponse
Response *struct {
// 卖场系统编码
MallId *string `json:"MallId,omitempty" name:"MallId"`
// 卖场用户编码
MallCode *string `json:"MallCode,omitempty" name:"MallCode"`
// 客户编码
PersonId *string `json:"PersonId,omitempty" name:"PersonId"`
// 到场轨迹
ArrivedMallSet []*ArrivedMallInfo `json:"ArrivedMallSet,omitempty" name:"ArrivedMallSet" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribePersonArrivedMallResponse ¶
func NewDescribePersonArrivedMallResponse() (response *DescribePersonArrivedMallResponse)
func (*DescribePersonArrivedMallResponse) FromJsonString ¶
func (r *DescribePersonArrivedMallResponse) FromJsonString(s string) error
func (*DescribePersonArrivedMallResponse) ToJsonString ¶
func (r *DescribePersonArrivedMallResponse) ToJsonString() string
type DescribePersonInfoByFacePictureRequest ¶
type DescribePersonInfoByFacePictureRequest struct {
*tchttp.BaseRequest
// 优mall集团id,通过"指定身份标识获取客户门店列表"接口获取
CompanyId *string `json:"CompanyId,omitempty" name:"CompanyId"`
// 优mall店铺id,通过"指定身份标识获取客户门店列表"接口获取
ShopId *int64 `json:"ShopId,omitempty" name:"ShopId"`
// 人脸图片BASE编码
Picture *string `json:"Picture,omitempty" name:"Picture"`
}
func NewDescribePersonInfoByFacePictureRequest ¶
func NewDescribePersonInfoByFacePictureRequest() (request *DescribePersonInfoByFacePictureRequest)
func (*DescribePersonInfoByFacePictureRequest) FromJsonString ¶
func (r *DescribePersonInfoByFacePictureRequest) FromJsonString(s string) error
func (*DescribePersonInfoByFacePictureRequest) ToJsonString ¶
func (r *DescribePersonInfoByFacePictureRequest) ToJsonString() string
type DescribePersonInfoByFacePictureResponse ¶
type DescribePersonInfoByFacePictureResponse struct {
*tchttp.BaseResponse
Response *struct {
// 集团id
CompanyId *string `json:"CompanyId,omitempty" name:"CompanyId"`
// 店铺id
ShopId *int64 `json:"ShopId,omitempty" name:"ShopId"`
// 顾客face id
PersonId *int64 `json:"PersonId,omitempty" name:"PersonId"`
// 顾客底图url
PictureUrl *string `json:"PictureUrl,omitempty" name:"PictureUrl"`
// 顾客类型(0表示普通顾客,1 白名单,2 表示黑名单,101表示集团白名单,102表示集团黑名单)
PersonType *int64 `json:"PersonType,omitempty" name:"PersonType"`
// 顾客首次进店时间
FirstVisitTime *string `json:"FirstVisitTime,omitempty" name:"FirstVisitTime"`
// 顾客历史到访次数
VisitTimes *int64 `json:"VisitTimes,omitempty" name:"VisitTimes"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribePersonInfoByFacePictureResponse ¶
func NewDescribePersonInfoByFacePictureResponse() (response *DescribePersonInfoByFacePictureResponse)
func (*DescribePersonInfoByFacePictureResponse) FromJsonString ¶
func (r *DescribePersonInfoByFacePictureResponse) FromJsonString(s string) error
func (*DescribePersonInfoByFacePictureResponse) ToJsonString ¶
func (r *DescribePersonInfoByFacePictureResponse) ToJsonString() string
type DescribePersonInfoRequest ¶
type DescribePersonInfoRequest struct {
*tchttp.BaseRequest
// 公司ID
CompanyId *string `json:"CompanyId,omitempty" name:"CompanyId"`
// 门店ID
ShopId *uint64 `json:"ShopId,omitempty" name:"ShopId"`
// 起始ID,第一次拉取时StartPersonId传0,后续送入的值为上一页最后一条数据项的PersonId
StartPersonId *uint64 `json:"StartPersonId,omitempty" name:"StartPersonId"`
// 偏移量:分页控制参数,第一页传0,第n页Offset=(n-1)*Limit
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// Limit:每页的数据项,最大100,超过100会被强制指定为100
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
// 图片url过期时间:在当前时间+PictureExpires秒后,图片url无法继续正常访问;单位s;默认值1*24*60*60(1天)
PictureExpires *uint64 `json:"PictureExpires,omitempty" name:"PictureExpires"`
// 身份类型(0表示普通顾客,1 白名单,2 表示黑名单)
PersonType *uint64 `json:"PersonType,omitempty" name:"PersonType"`
}
func NewDescribePersonInfoRequest ¶
func NewDescribePersonInfoRequest() (request *DescribePersonInfoRequest)
func (*DescribePersonInfoRequest) FromJsonString ¶
func (r *DescribePersonInfoRequest) FromJsonString(s string) error
func (*DescribePersonInfoRequest) ToJsonString ¶
func (r *DescribePersonInfoRequest) ToJsonString() string
type DescribePersonInfoResponse ¶
type DescribePersonInfoResponse struct {
*tchttp.BaseResponse
Response *struct {
// 公司ID
CompanyId *string `json:"CompanyId,omitempty" name:"CompanyId"`
// 门店ID
ShopId *uint64 `json:"ShopId,omitempty" name:"ShopId"`
// 总数
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 用户信息
PersonInfoSet []*PersonInfo `json:"PersonInfoSet,omitempty" name:"PersonInfoSet" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribePersonInfoResponse ¶
func NewDescribePersonInfoResponse() (response *DescribePersonInfoResponse)
func (*DescribePersonInfoResponse) FromJsonString ¶
func (r *DescribePersonInfoResponse) FromJsonString(s string) error
func (*DescribePersonInfoResponse) ToJsonString ¶
func (r *DescribePersonInfoResponse) ToJsonString() string
type DescribePersonRequest ¶
type DescribePersonRequest struct {
*tchttp.BaseRequest
// 卖场编码
MallId *string `json:"MallId,omitempty" name:"MallId"`
// 查询偏移
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// 查询数量,默认20,最大查询数量100
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
}
func NewDescribePersonRequest ¶
func NewDescribePersonRequest() (request *DescribePersonRequest)
func (*DescribePersonRequest) FromJsonString ¶
func (r *DescribePersonRequest) FromJsonString(s string) error
func (*DescribePersonRequest) ToJsonString ¶
func (r *DescribePersonRequest) ToJsonString() string
type DescribePersonResponse ¶
type DescribePersonResponse struct {
*tchttp.BaseResponse
Response *struct {
// 总计客户数量
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 客户信息
PersonSet []*PersonProfile `json:"PersonSet,omitempty" name:"PersonSet" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribePersonResponse ¶
func NewDescribePersonResponse() (response *DescribePersonResponse)
func (*DescribePersonResponse) FromJsonString ¶
func (r *DescribePersonResponse) FromJsonString(s string) error
func (*DescribePersonResponse) ToJsonString ¶
func (r *DescribePersonResponse) ToJsonString() string
type DescribePersonTraceDetailRequest ¶
type DescribePersonTraceDetailRequest struct {
*tchttp.BaseRequest
// 卖场编码
MallId *string `json:"MallId,omitempty" name:"MallId"`
// 客户编码
PersonId *string `json:"PersonId,omitempty" name:"PersonId"`
// 轨迹编码
TraceId *string `json:"TraceId,omitempty" name:"TraceId"`
}
func NewDescribePersonTraceDetailRequest ¶
func NewDescribePersonTraceDetailRequest() (request *DescribePersonTraceDetailRequest)
func (*DescribePersonTraceDetailRequest) FromJsonString ¶
func (r *DescribePersonTraceDetailRequest) FromJsonString(s string) error
func (*DescribePersonTraceDetailRequest) ToJsonString ¶
func (r *DescribePersonTraceDetailRequest) ToJsonString() string
type DescribePersonTraceDetailResponse ¶
type DescribePersonTraceDetailResponse struct {
*tchttp.BaseResponse
Response *struct {
// 卖场编码
MallId *string `json:"MallId,omitempty" name:"MallId"`
// 客户编码
PersonId *string `json:"PersonId,omitempty" name:"PersonId"`
// 轨迹编码
TraceId *string `json:"TraceId,omitempty" name:"TraceId"`
// 轨迹点坐标序列
CoordinateSet []*PersonCoordinate `json:"CoordinateSet,omitempty" name:"CoordinateSet" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribePersonTraceDetailResponse ¶
func NewDescribePersonTraceDetailResponse() (response *DescribePersonTraceDetailResponse)
func (*DescribePersonTraceDetailResponse) FromJsonString ¶
func (r *DescribePersonTraceDetailResponse) FromJsonString(s string) error
func (*DescribePersonTraceDetailResponse) ToJsonString ¶
func (r *DescribePersonTraceDetailResponse) ToJsonString() string
type DescribePersonTraceRequest ¶
type DescribePersonTraceRequest struct {
*tchttp.BaseRequest
// 卖场编码
MallId *string `json:"MallId,omitempty" name:"MallId"`
// 客户编码
PersonId *string `json:"PersonId,omitempty" name:"PersonId"`
// 查询开始时间
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 查询结束时间
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
}
func NewDescribePersonTraceRequest ¶
func NewDescribePersonTraceRequest() (request *DescribePersonTraceRequest)
func (*DescribePersonTraceRequest) FromJsonString ¶
func (r *DescribePersonTraceRequest) FromJsonString(s string) error
func (*DescribePersonTraceRequest) ToJsonString ¶
func (r *DescribePersonTraceRequest) ToJsonString() string
type DescribePersonTraceResponse ¶
type DescribePersonTraceResponse struct {
*tchttp.BaseResponse
Response *struct {
// 卖场系统编码
MallId *string `json:"MallId,omitempty" name:"MallId"`
// 卖场用户编码
MallCode *string `json:"MallCode,omitempty" name:"MallCode"`
// 客户编码
PersonId *string `json:"PersonId,omitempty" name:"PersonId"`
// 轨迹列表
TraceRouteSet []*PersonTraceRoute `json:"TraceRouteSet,omitempty" name:"TraceRouteSet" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribePersonTraceResponse ¶
func NewDescribePersonTraceResponse() (response *DescribePersonTraceResponse)
func (*DescribePersonTraceResponse) FromJsonString ¶
func (r *DescribePersonTraceResponse) FromJsonString(s string) error
func (*DescribePersonTraceResponse) ToJsonString ¶
func (r *DescribePersonTraceResponse) ToJsonString() string
type DescribePersonVisitInfoRequest ¶
type DescribePersonVisitInfoRequest struct {
*tchttp.BaseRequest
// 公司ID
CompanyId *string `json:"CompanyId,omitempty" name:"CompanyId"`
// 门店ID
ShopId *uint64 `json:"ShopId,omitempty" name:"ShopId"`
// 偏移量:分页控制参数,第一页传0,第n页Offset=(n-1)*Limit
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// Limit:每页的数据项,最大100,超过100会被强制指定为100
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
// 开始日期,格式yyyy-MM-dd,已废弃,请使用StartDateTime
StartDate *string `json:"StartDate,omitempty" name:"StartDate"`
// 结束日期,格式yyyy-MM-dd,已废弃,请使用EndDateTime
EndDate *string `json:"EndDate,omitempty" name:"EndDate"`
// 图片url过期时间:在当前时间+PictureExpires秒后,图片url无法继续正常访问;单位s;默认值1*24*60*60(1天)
PictureExpires *uint64 `json:"PictureExpires,omitempty" name:"PictureExpires"`
// 开始时间,格式yyyy-MM-dd HH:mm:ss
StartDateTime *string `json:"StartDateTime,omitempty" name:"StartDateTime"`
// 结束时间,格式yyyy-MM-dd HH:mm:ss
EndDateTime *string `json:"EndDateTime,omitempty" name:"EndDateTime"`
}
func NewDescribePersonVisitInfoRequest ¶
func NewDescribePersonVisitInfoRequest() (request *DescribePersonVisitInfoRequest)
func (*DescribePersonVisitInfoRequest) FromJsonString ¶
func (r *DescribePersonVisitInfoRequest) FromJsonString(s string) error
func (*DescribePersonVisitInfoRequest) ToJsonString ¶
func (r *DescribePersonVisitInfoRequest) ToJsonString() string
type DescribePersonVisitInfoResponse ¶
type DescribePersonVisitInfoResponse struct {
*tchttp.BaseResponse
Response *struct {
// 公司ID
CompanyId *string `json:"CompanyId,omitempty" name:"CompanyId"`
// 门店ID
ShopId *uint64 `json:"ShopId,omitempty" name:"ShopId"`
// 总数
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 用户到访明细
PersonVisitInfoSet []*PersonVisitInfo `json:"PersonVisitInfoSet,omitempty" name:"PersonVisitInfoSet" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribePersonVisitInfoResponse ¶
func NewDescribePersonVisitInfoResponse() (response *DescribePersonVisitInfoResponse)
func (*DescribePersonVisitInfoResponse) FromJsonString ¶
func (r *DescribePersonVisitInfoResponse) FromJsonString(s string) error
func (*DescribePersonVisitInfoResponse) ToJsonString ¶
func (r *DescribePersonVisitInfoResponse) ToJsonString() string
type DescribeShopHourTrafficInfoRequest ¶
type DescribeShopHourTrafficInfoRequest struct {
*tchttp.BaseRequest
// 公司ID
CompanyId *string `json:"CompanyId,omitempty" name:"CompanyId"`
// 门店ID
ShopId *uint64 `json:"ShopId,omitempty" name:"ShopId"`
// 开始日期,格式:yyyy-MM-dd
StartDate *string `json:"StartDate,omitempty" name:"StartDate"`
// 结束日期,格式:yyyy-MM-dd
EndDate *string `json:"EndDate,omitempty" name:"EndDate"`
// 偏移量:分页控制参数,第一页传0,第n页Offset=(n-1)*Limit
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// Limit:每页的数据项,最大100,超过100会被强制指定为100
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
}
func NewDescribeShopHourTrafficInfoRequest ¶
func NewDescribeShopHourTrafficInfoRequest() (request *DescribeShopHourTrafficInfoRequest)
func (*DescribeShopHourTrafficInfoRequest) FromJsonString ¶
func (r *DescribeShopHourTrafficInfoRequest) FromJsonString(s string) error
func (*DescribeShopHourTrafficInfoRequest) ToJsonString ¶
func (r *DescribeShopHourTrafficInfoRequest) ToJsonString() string
type DescribeShopHourTrafficInfoResponse ¶
type DescribeShopHourTrafficInfoResponse struct {
*tchttp.BaseResponse
Response *struct {
// 公司ID
CompanyId *string `json:"CompanyId,omitempty" name:"CompanyId"`
// 门店ID
ShopId *uint64 `json:"ShopId,omitempty" name:"ShopId"`
// 查询结果总数
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 分时客流信息
ShopHourTrafficInfoSet []*ShopHourTrafficInfo `json:"ShopHourTrafficInfoSet,omitempty" name:"ShopHourTrafficInfoSet" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeShopHourTrafficInfoResponse ¶
func NewDescribeShopHourTrafficInfoResponse() (response *DescribeShopHourTrafficInfoResponse)
func (*DescribeShopHourTrafficInfoResponse) FromJsonString ¶
func (r *DescribeShopHourTrafficInfoResponse) FromJsonString(s string) error
func (*DescribeShopHourTrafficInfoResponse) ToJsonString ¶
func (r *DescribeShopHourTrafficInfoResponse) ToJsonString() string
type DescribeShopInfoRequest ¶
type DescribeShopInfoRequest struct {
*tchttp.BaseRequest
// 偏移量:分页控制参数,第一页传0,第n页Offset=(n-1)*Limit
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// Limit:每页的数据项,最大100,超过100会被强制指定为100
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
}
func NewDescribeShopInfoRequest ¶
func NewDescribeShopInfoRequest() (request *DescribeShopInfoRequest)
func (*DescribeShopInfoRequest) FromJsonString ¶
func (r *DescribeShopInfoRequest) FromJsonString(s string) error
func (*DescribeShopInfoRequest) ToJsonString ¶
func (r *DescribeShopInfoRequest) ToJsonString() string
type DescribeShopInfoResponse ¶
type DescribeShopInfoResponse struct {
*tchttp.BaseResponse
Response *struct {
// 门店总数
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 门店列表信息
ShopInfoSet []*ShopInfo `json:"ShopInfoSet,omitempty" name:"ShopInfoSet" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeShopInfoResponse ¶
func NewDescribeShopInfoResponse() (response *DescribeShopInfoResponse)
func (*DescribeShopInfoResponse) FromJsonString ¶
func (r *DescribeShopInfoResponse) FromJsonString(s string) error
func (*DescribeShopInfoResponse) ToJsonString ¶
func (r *DescribeShopInfoResponse) ToJsonString() string
type DescribeShopTrafficInfoRequest ¶
type DescribeShopTrafficInfoRequest struct {
*tchttp.BaseRequest
// 公司ID
CompanyId *string `json:"CompanyId,omitempty" name:"CompanyId"`
// 门店ID
ShopId *uint64 `json:"ShopId,omitempty" name:"ShopId"`
// 开始日期,格式yyyy-MM-dd
StartDate *string `json:"StartDate,omitempty" name:"StartDate"`
// 介绍日期,格式yyyy-MM-dd
EndDate *string `json:"EndDate,omitempty" name:"EndDate"`
// 偏移量:分页控制参数,第一页传0,第n页Offset=(n-1)*Limit
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// Limit:每页的数据项,最大100,超过100会被强制指定为100
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
}
func NewDescribeShopTrafficInfoRequest ¶
func NewDescribeShopTrafficInfoRequest() (request *DescribeShopTrafficInfoRequest)
func (*DescribeShopTrafficInfoRequest) FromJsonString ¶
func (r *DescribeShopTrafficInfoRequest) FromJsonString(s string) error
func (*DescribeShopTrafficInfoRequest) ToJsonString ¶
func (r *DescribeShopTrafficInfoRequest) ToJsonString() string
type DescribeShopTrafficInfoResponse ¶
type DescribeShopTrafficInfoResponse struct {
*tchttp.BaseResponse
Response *struct {
// 公司ID
CompanyId *string `json:"CompanyId,omitempty" name:"CompanyId"`
// 门店ID
ShopId *uint64 `json:"ShopId,omitempty" name:"ShopId"`
// 查询结果总数
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 客流信息列表
ShopDayTrafficInfoSet []*ShopDayTrafficInfo `json:"ShopDayTrafficInfoSet,omitempty" name:"ShopDayTrafficInfoSet" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeShopTrafficInfoResponse ¶
func NewDescribeShopTrafficInfoResponse() (response *DescribeShopTrafficInfoResponse)
func (*DescribeShopTrafficInfoResponse) FromJsonString ¶
func (r *DescribeShopTrafficInfoResponse) FromJsonString(s string) error
func (*DescribeShopTrafficInfoResponse) ToJsonString ¶
func (r *DescribeShopTrafficInfoResponse) ToJsonString() string
type DescribeTrajectoryDataRequest ¶
type DescribeTrajectoryDataRequest struct {
*tchttp.BaseRequest
// 集团ID
CompanyId *string `json:"CompanyId,omitempty" name:"CompanyId"`
// 店铺ID
ShopId *int64 `json:"ShopId,omitempty" name:"ShopId"`
// 开始日期,格式yyyy-MM-dd
StartDate *string `json:"StartDate,omitempty" name:"StartDate"`
// 结束日期,格式yyyy-MM-dd
EndDate *string `json:"EndDate,omitempty" name:"EndDate"`
// 限制返回数据的最大条数,最大 400(负数代为 400)
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 顾客性别顾虑,0是男,1是女,其它代表不分性别
Gender *int64 `json:"Gender,omitempty" name:"Gender"`
}
func NewDescribeTrajectoryDataRequest ¶
func NewDescribeTrajectoryDataRequest() (request *DescribeTrajectoryDataRequest)
func (*DescribeTrajectoryDataRequest) FromJsonString ¶
func (r *DescribeTrajectoryDataRequest) FromJsonString(s string) error
func (*DescribeTrajectoryDataRequest) ToJsonString ¶
func (r *DescribeTrajectoryDataRequest) ToJsonString() string
type DescribeTrajectoryDataResponse ¶
type DescribeTrajectoryDataResponse struct {
*tchttp.BaseResponse
Response *struct {
// 集团ID
CompanyId *string `json:"CompanyId,omitempty" name:"CompanyId"`
// 店铺ID
ShopId *int64 `json:"ShopId,omitempty" name:"ShopId"`
// 总人数
TotalPerson *int64 `json:"TotalPerson,omitempty" name:"TotalPerson"`
// 总动迹数目
TotalTrajectory *int64 `json:"TotalTrajectory,omitempty" name:"TotalTrajectory"`
// 返回动迹中的总人数
Person *int64 `json:"Person,omitempty" name:"Person"`
// 返回动迹的数目
Trajectory *int64 `json:"Trajectory,omitempty" name:"Trajectory"`
// 返回动迹的具体信息
Data []*TrajectorySunData `json:"Data,omitempty" name:"Data" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeTrajectoryDataResponse ¶
func NewDescribeTrajectoryDataResponse() (response *DescribeTrajectoryDataResponse)
func (*DescribeTrajectoryDataResponse) FromJsonString ¶
func (r *DescribeTrajectoryDataResponse) FromJsonString(s string) error
func (*DescribeTrajectoryDataResponse) ToJsonString ¶
func (r *DescribeTrajectoryDataResponse) ToJsonString() string
type DescribeZoneFlowAgeInfoByZoneIdRequest ¶
type DescribeZoneFlowAgeInfoByZoneIdRequest struct {
*tchttp.BaseRequest
// 集团ID
CompanyId *string `json:"CompanyId,omitempty" name:"CompanyId"`
// 店铺ID
ShopId *int64 `json:"ShopId,omitempty" name:"ShopId"`
// 区域ID
ZoneId *int64 `json:"ZoneId,omitempty" name:"ZoneId"`
// 开始日期,格式yyyy-MM-dd
StartDate *string `json:"StartDate,omitempty" name:"StartDate"`
// 结束日期,格式yyyy-MM-dd
EndDate *string `json:"EndDate,omitempty" name:"EndDate"`
}
func NewDescribeZoneFlowAgeInfoByZoneIdRequest ¶
func NewDescribeZoneFlowAgeInfoByZoneIdRequest() (request *DescribeZoneFlowAgeInfoByZoneIdRequest)
func (*DescribeZoneFlowAgeInfoByZoneIdRequest) FromJsonString ¶
func (r *DescribeZoneFlowAgeInfoByZoneIdRequest) FromJsonString(s string) error
func (*DescribeZoneFlowAgeInfoByZoneIdRequest) ToJsonString ¶
func (r *DescribeZoneFlowAgeInfoByZoneIdRequest) ToJsonString() string
type DescribeZoneFlowAgeInfoByZoneIdResponse ¶
type DescribeZoneFlowAgeInfoByZoneIdResponse struct {
*tchttp.BaseResponse
Response *struct {
// 集团ID
CompanyId *string `json:"CompanyId,omitempty" name:"CompanyId"`
// 店铺ID
ShopId *int64 `json:"ShopId,omitempty" name:"ShopId"`
// 区域ID
ZoneId *int64 `json:"ZoneId,omitempty" name:"ZoneId"`
// 区域名称
ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`
// 当前年龄段占比
Data []*float64 `json:"Data,omitempty" name:"Data" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeZoneFlowAgeInfoByZoneIdResponse ¶
func NewDescribeZoneFlowAgeInfoByZoneIdResponse() (response *DescribeZoneFlowAgeInfoByZoneIdResponse)
func (*DescribeZoneFlowAgeInfoByZoneIdResponse) FromJsonString ¶
func (r *DescribeZoneFlowAgeInfoByZoneIdResponse) FromJsonString(s string) error
func (*DescribeZoneFlowAgeInfoByZoneIdResponse) ToJsonString ¶
func (r *DescribeZoneFlowAgeInfoByZoneIdResponse) ToJsonString() string
type DescribeZoneFlowAndStayTimeRequest ¶
type DescribeZoneFlowAndStayTimeRequest struct {
*tchttp.BaseRequest
// 集团ID
CompanyId *string `json:"CompanyId,omitempty" name:"CompanyId"`
// 店铺ID
ShopId *int64 `json:"ShopId,omitempty" name:"ShopId"`
// 开始日期,格式yyyy-MM-dd
StartDate *string `json:"StartDate,omitempty" name:"StartDate"`
// 结束日期,格式yyyy-MM-dd
EndDate *string `json:"EndDate,omitempty" name:"EndDate"`
}
func NewDescribeZoneFlowAndStayTimeRequest ¶
func NewDescribeZoneFlowAndStayTimeRequest() (request *DescribeZoneFlowAndStayTimeRequest)
func (*DescribeZoneFlowAndStayTimeRequest) FromJsonString ¶
func (r *DescribeZoneFlowAndStayTimeRequest) FromJsonString(s string) error
func (*DescribeZoneFlowAndStayTimeRequest) ToJsonString ¶
func (r *DescribeZoneFlowAndStayTimeRequest) ToJsonString() string
type DescribeZoneFlowAndStayTimeResponse ¶
type DescribeZoneFlowAndStayTimeResponse struct {
*tchttp.BaseResponse
Response *struct {
// 集团id
CompanyId *string `json:"CompanyId,omitempty" name:"CompanyId"`
// 店铺id
ShopId *int64 `json:"ShopId,omitempty" name:"ShopId"`
// 各区域人流数目和停留时长
Data []*ZoneFlowAndAvrStayTime `json:"Data,omitempty" name:"Data" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeZoneFlowAndStayTimeResponse ¶
func NewDescribeZoneFlowAndStayTimeResponse() (response *DescribeZoneFlowAndStayTimeResponse)
func (*DescribeZoneFlowAndStayTimeResponse) FromJsonString ¶
func (r *DescribeZoneFlowAndStayTimeResponse) FromJsonString(s string) error
func (*DescribeZoneFlowAndStayTimeResponse) ToJsonString ¶
func (r *DescribeZoneFlowAndStayTimeResponse) ToJsonString() string
type DescribeZoneFlowDailyByZoneIdRequest ¶
type DescribeZoneFlowDailyByZoneIdRequest struct {
*tchttp.BaseRequest
// 集团ID
CompanyId *string `json:"CompanyId,omitempty" name:"CompanyId"`
// 店铺ID
ShopId *int64 `json:"ShopId,omitempty" name:"ShopId"`
// 区域ID
ZoneId *int64 `json:"ZoneId,omitempty" name:"ZoneId"`
// 开始日期,格式yyyy-MM-dd
StartDate *string `json:"StartDate,omitempty" name:"StartDate"`
// 结束日期,格式yyyy-MM-dd
EndDate *string `json:"EndDate,omitempty" name:"EndDate"`
}
func NewDescribeZoneFlowDailyByZoneIdRequest ¶
func NewDescribeZoneFlowDailyByZoneIdRequest() (request *DescribeZoneFlowDailyByZoneIdRequest)
func (*DescribeZoneFlowDailyByZoneIdRequest) FromJsonString ¶
func (r *DescribeZoneFlowDailyByZoneIdRequest) FromJsonString(s string) error
func (*DescribeZoneFlowDailyByZoneIdRequest) ToJsonString ¶
func (r *DescribeZoneFlowDailyByZoneIdRequest) ToJsonString() string
type DescribeZoneFlowDailyByZoneIdResponse ¶
type DescribeZoneFlowDailyByZoneIdResponse struct {
*tchttp.BaseResponse
Response *struct {
// 集团id
CompanyId *string `json:"CompanyId,omitempty" name:"CompanyId"`
// 店铺id
ShopId *int64 `json:"ShopId,omitempty" name:"ShopId"`
// 区域ID
ZoneId *int64 `json:"ZoneId,omitempty" name:"ZoneId"`
// 区域名称
ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`
// 每日人流量
Data []*ZoneDayFlow `json:"Data,omitempty" name:"Data" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeZoneFlowDailyByZoneIdResponse ¶
func NewDescribeZoneFlowDailyByZoneIdResponse() (response *DescribeZoneFlowDailyByZoneIdResponse)
func (*DescribeZoneFlowDailyByZoneIdResponse) FromJsonString ¶
func (r *DescribeZoneFlowDailyByZoneIdResponse) FromJsonString(s string) error
func (*DescribeZoneFlowDailyByZoneIdResponse) ToJsonString ¶
func (r *DescribeZoneFlowDailyByZoneIdResponse) ToJsonString() string
type DescribeZoneFlowGenderAvrStayTimeByZoneIdRequest ¶
type DescribeZoneFlowGenderAvrStayTimeByZoneIdRequest struct {
*tchttp.BaseRequest
// 集团ID
CompanyId *string `json:"CompanyId,omitempty" name:"CompanyId"`
// 店铺ID
ShopId *int64 `json:"ShopId,omitempty" name:"ShopId"`
// 区域ID
ZoneId *int64 `json:"ZoneId,omitempty" name:"ZoneId"`
// 开始日期,格式yyyy-MM-dd
StartDate *string `json:"StartDate,omitempty" name:"StartDate"`
// 结束日期,格式yyyy-MM-dd
EndDate *string `json:"EndDate,omitempty" name:"EndDate"`
}
func NewDescribeZoneFlowGenderAvrStayTimeByZoneIdRequest ¶
func NewDescribeZoneFlowGenderAvrStayTimeByZoneIdRequest() (request *DescribeZoneFlowGenderAvrStayTimeByZoneIdRequest)
func (*DescribeZoneFlowGenderAvrStayTimeByZoneIdRequest) FromJsonString ¶
func (r *DescribeZoneFlowGenderAvrStayTimeByZoneIdRequest) FromJsonString(s string) error
func (*DescribeZoneFlowGenderAvrStayTimeByZoneIdRequest) ToJsonString ¶
func (r *DescribeZoneFlowGenderAvrStayTimeByZoneIdRequest) ToJsonString() string
type DescribeZoneFlowGenderAvrStayTimeByZoneIdResponse ¶
type DescribeZoneFlowGenderAvrStayTimeByZoneIdResponse struct {
*tchttp.BaseResponse
Response *struct {
// 集团ID
CompanyId *string `json:"CompanyId,omitempty" name:"CompanyId"`
// 店铺ID
ShopId *int64 `json:"ShopId,omitempty" name:"ShopId"`
// 区域ID
ZoneId *int64 `json:"ZoneId,omitempty" name:"ZoneId"`
// 区域名称
ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`
// 不同年龄段男女停留时间(返回格式为数组,从第 1 个到最后一个数据,年龄段分别为 0-17,18 - 23, 24 - 30, 31 - 40, 41 - 50, 51 - 60, 61 - 100)
Data []*ZoneAgeGroupAvrStayTime `json:"Data,omitempty" name:"Data" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeZoneFlowGenderAvrStayTimeByZoneIdResponse ¶
func NewDescribeZoneFlowGenderAvrStayTimeByZoneIdResponse() (response *DescribeZoneFlowGenderAvrStayTimeByZoneIdResponse)
func (*DescribeZoneFlowGenderAvrStayTimeByZoneIdResponse) FromJsonString ¶
func (r *DescribeZoneFlowGenderAvrStayTimeByZoneIdResponse) FromJsonString(s string) error
func (*DescribeZoneFlowGenderAvrStayTimeByZoneIdResponse) ToJsonString ¶
func (r *DescribeZoneFlowGenderAvrStayTimeByZoneIdResponse) ToJsonString() string
type DescribeZoneFlowGenderInfoByZoneIdRequest ¶
type DescribeZoneFlowGenderInfoByZoneIdRequest struct {
*tchttp.BaseRequest
// 集团ID
CompanyId *string `json:"CompanyId,omitempty" name:"CompanyId"`
// 店铺ID
ShopId *int64 `json:"ShopId,omitempty" name:"ShopId"`
// 区域ID
ZoneId *int64 `json:"ZoneId,omitempty" name:"ZoneId"`
// 开始日期,格式yyyy-MM-dd
StartDate *string `json:"StartDate,omitempty" name:"StartDate"`
// 结束日期,格式yyyy-MM-dd
EndDate *string `json:"EndDate,omitempty" name:"EndDate"`
}
func NewDescribeZoneFlowGenderInfoByZoneIdRequest ¶
func NewDescribeZoneFlowGenderInfoByZoneIdRequest() (request *DescribeZoneFlowGenderInfoByZoneIdRequest)
func (*DescribeZoneFlowGenderInfoByZoneIdRequest) FromJsonString ¶
func (r *DescribeZoneFlowGenderInfoByZoneIdRequest) FromJsonString(s string) error
func (*DescribeZoneFlowGenderInfoByZoneIdRequest) ToJsonString ¶
func (r *DescribeZoneFlowGenderInfoByZoneIdRequest) ToJsonString() string
type DescribeZoneFlowGenderInfoByZoneIdResponse ¶
type DescribeZoneFlowGenderInfoByZoneIdResponse struct {
*tchttp.BaseResponse
Response *struct {
// 集团ID
CompanyId *string `json:"CompanyId,omitempty" name:"CompanyId"`
// 店铺ID
ShopId *int64 `json:"ShopId,omitempty" name:"ShopId"`
// 区域ID
ZoneId *int64 `json:"ZoneId,omitempty" name:"ZoneId"`
// 区域名称
ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`
// 男性占比
MalePercent *float64 `json:"MalePercent,omitempty" name:"MalePercent"`
// 女性占比
FemalePercent *float64 `json:"FemalePercent,omitempty" name:"FemalePercent"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeZoneFlowGenderInfoByZoneIdResponse ¶
func NewDescribeZoneFlowGenderInfoByZoneIdResponse() (response *DescribeZoneFlowGenderInfoByZoneIdResponse)
func (*DescribeZoneFlowGenderInfoByZoneIdResponse) FromJsonString ¶
func (r *DescribeZoneFlowGenderInfoByZoneIdResponse) FromJsonString(s string) error
func (*DescribeZoneFlowGenderInfoByZoneIdResponse) ToJsonString ¶
func (r *DescribeZoneFlowGenderInfoByZoneIdResponse) ToJsonString() string
type DescribeZoneFlowHourlyByZoneIdRequest ¶
type DescribeZoneFlowHourlyByZoneIdRequest struct {
*tchttp.BaseRequest
// 集团ID
CompanyId *string `json:"CompanyId,omitempty" name:"CompanyId"`
// 店铺ID
ShopId *int64 `json:"ShopId,omitempty" name:"ShopId"`
// 区域ID
ZoneId *int64 `json:"ZoneId,omitempty" name:"ZoneId"`
// 开始日期,格式yyyy-MM-dd
StartDate *string `json:"StartDate,omitempty" name:"StartDate"`
// 结束日期,格式yyyy-MM-dd
EndDate *string `json:"EndDate,omitempty" name:"EndDate"`
}
func NewDescribeZoneFlowHourlyByZoneIdRequest ¶
func NewDescribeZoneFlowHourlyByZoneIdRequest() (request *DescribeZoneFlowHourlyByZoneIdRequest)
func (*DescribeZoneFlowHourlyByZoneIdRequest) FromJsonString ¶
func (r *DescribeZoneFlowHourlyByZoneIdRequest) FromJsonString(s string) error
func (*DescribeZoneFlowHourlyByZoneIdRequest) ToJsonString ¶
func (r *DescribeZoneFlowHourlyByZoneIdRequest) ToJsonString() string
type DescribeZoneFlowHourlyByZoneIdResponse ¶
type DescribeZoneFlowHourlyByZoneIdResponse struct {
*tchttp.BaseResponse
Response *struct {
// 集团ID
CompanyId *string `json:"CompanyId,omitempty" name:"CompanyId"`
// 店铺ID
ShopId *int64 `json:"ShopId,omitempty" name:"ShopId"`
// 区域ID
ZoneId *int64 `json:"ZoneId,omitempty" name:"ZoneId"`
// 区域名称
ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`
// 各个分时人流量
Data []*ZoneHourFlow `json:"Data,omitempty" name:"Data" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeZoneFlowHourlyByZoneIdResponse ¶
func NewDescribeZoneFlowHourlyByZoneIdResponse() (response *DescribeZoneFlowHourlyByZoneIdResponse)
func (*DescribeZoneFlowHourlyByZoneIdResponse) FromJsonString ¶
func (r *DescribeZoneFlowHourlyByZoneIdResponse) FromJsonString(s string) error
func (*DescribeZoneFlowHourlyByZoneIdResponse) ToJsonString ¶
func (r *DescribeZoneFlowHourlyByZoneIdResponse) ToJsonString() string
type DescribeZoneTrafficInfoRequest ¶
type DescribeZoneTrafficInfoRequest struct {
*tchttp.BaseRequest
// 公司ID
CompanyId *string `json:"CompanyId,omitempty" name:"CompanyId"`
// 店铺ID
ShopId *uint64 `json:"ShopId,omitempty" name:"ShopId"`
// 开始日期,格式yyyy-MM-dd
StartDate *string `json:"StartDate,omitempty" name:"StartDate"`
// 结束日期,格式yyyy-MM-dd
EndDate *string `json:"EndDate,omitempty" name:"EndDate"`
// 偏移量:分页控制参数,第一页传0,第n页Offset=(n-1)*Limit
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// Limit:每页的数据项,最大100,超过100会被强制指定为100
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
}
func NewDescribeZoneTrafficInfoRequest ¶
func NewDescribeZoneTrafficInfoRequest() (request *DescribeZoneTrafficInfoRequest)
func (*DescribeZoneTrafficInfoRequest) FromJsonString ¶
func (r *DescribeZoneTrafficInfoRequest) FromJsonString(s string) error
func (*DescribeZoneTrafficInfoRequest) ToJsonString ¶
func (r *DescribeZoneTrafficInfoRequest) ToJsonString() string
type DescribeZoneTrafficInfoResponse ¶
type DescribeZoneTrafficInfoResponse struct {
*tchttp.BaseResponse
Response *struct {
// 公司ID
CompanyId *string `json:"CompanyId,omitempty" name:"CompanyId"`
// 门店ID
ShopId *uint64 `json:"ShopId,omitempty" name:"ShopId"`
// 查询结果总数
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 区域客流信息列表
ZoneTrafficInfoSet []*ZoneTrafficInfo `json:"ZoneTrafficInfoSet,omitempty" name:"ZoneTrafficInfoSet" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeZoneTrafficInfoResponse ¶
func NewDescribeZoneTrafficInfoResponse() (response *DescribeZoneTrafficInfoResponse)
func (*DescribeZoneTrafficInfoResponse) FromJsonString ¶
func (r *DescribeZoneTrafficInfoResponse) FromJsonString(s string) error
func (*DescribeZoneTrafficInfoResponse) ToJsonString ¶
func (r *DescribeZoneTrafficInfoResponse) ToJsonString() string
type GenderAgeTrafficDetail ¶
type HourTrafficInfoDetail ¶
type ModifyPersonFeatureInfoRequest ¶
type ModifyPersonFeatureInfoRequest struct {
*tchttp.BaseRequest
// 集团ID
CompanyId *string `json:"CompanyId,omitempty" name:"CompanyId"`
// 需要修改的顾客id
PersonId *int64 `json:"PersonId,omitempty" name:"PersonId"`
// 图片BASE编码
Picture *string `json:"Picture,omitempty" name:"Picture"`
// 图片名称(尽量不要重复)
PictureName *string `json:"PictureName,omitempty" name:"PictureName"`
// 人物类型,仅能操作黑白名单顾客(1 白名单,2 表示黑名单,101表示集团白名单,102表示集团黑名单)
PersonType *int64 `json:"PersonType,omitempty" name:"PersonType"`
// 店铺ID,如果不填表示操作集团身份库
ShopId *int64 `json:"ShopId,omitempty" name:"ShopId"`
}
func NewModifyPersonFeatureInfoRequest ¶
func NewModifyPersonFeatureInfoRequest() (request *ModifyPersonFeatureInfoRequest)
func (*ModifyPersonFeatureInfoRequest) FromJsonString ¶
func (r *ModifyPersonFeatureInfoRequest) FromJsonString(s string) error
func (*ModifyPersonFeatureInfoRequest) ToJsonString ¶
func (r *ModifyPersonFeatureInfoRequest) ToJsonString() string
type ModifyPersonFeatureInfoResponse ¶
type ModifyPersonFeatureInfoResponse struct {
*tchttp.BaseResponse
Response *struct {
// 集团ID
CompanyId *string `json:"CompanyId,omitempty" name:"CompanyId"`
// 店铺ID,如果不填表示操作集团身份库
ShopId *int64 `json:"ShopId,omitempty" name:"ShopId"`
// 请求的顾客id
PersonId *int64 `json:"PersonId,omitempty" name:"PersonId"`
// 图片实际绑定person_id,可能与请求的person_id不同,以此id为准
PersonIdBind *int64 `json:"PersonIdBind,omitempty" name:"PersonIdBind"`
// 请求的顾客类型
PersonType *int64 `json:"PersonType,omitempty" name:"PersonType"`
// 与请求的person_id类型相同、与请求图片特征相似的一个或多个person_id,需要额外确认这些id是否是同一个人
SimilarPersonIds []*int64 `json:"SimilarPersonIds,omitempty" name:"SimilarPersonIds" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewModifyPersonFeatureInfoResponse ¶
func NewModifyPersonFeatureInfoResponse() (response *ModifyPersonFeatureInfoResponse)
func (*ModifyPersonFeatureInfoResponse) FromJsonString ¶
func (r *ModifyPersonFeatureInfoResponse) FromJsonString(s string) error
func (*ModifyPersonFeatureInfoResponse) ToJsonString ¶
func (r *ModifyPersonFeatureInfoResponse) ToJsonString() string
type ModifyPersonTagInfoRequest ¶
type ModifyPersonTagInfoRequest struct {
*tchttp.BaseRequest
// 优mall集团id,通过"指定身份标识获取客户门店列表"接口获取
CompanyId *string `json:"CompanyId,omitempty" name:"CompanyId"`
// 优mall店铺id,通过"指定身份标识获取客户门店列表"接口获取,为0则拉取集团全部店铺当前
ShopId *int64 `json:"ShopId,omitempty" name:"ShopId"`
// 需要设置的顾客信息,批量设置最大为10个
Tags []*PersonTagInfo `json:"Tags,omitempty" name:"Tags" list`
}
func NewModifyPersonTagInfoRequest ¶
func NewModifyPersonTagInfoRequest() (request *ModifyPersonTagInfoRequest)
func (*ModifyPersonTagInfoRequest) FromJsonString ¶
func (r *ModifyPersonTagInfoRequest) FromJsonString(s string) error
func (*ModifyPersonTagInfoRequest) ToJsonString ¶
func (r *ModifyPersonTagInfoRequest) ToJsonString() string
type ModifyPersonTagInfoResponse ¶
type ModifyPersonTagInfoResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewModifyPersonTagInfoResponse ¶
func NewModifyPersonTagInfoResponse() (response *ModifyPersonTagInfoResponse)
func (*ModifyPersonTagInfoResponse) FromJsonString ¶
func (r *ModifyPersonTagInfoResponse) FromJsonString(s string) error
func (*ModifyPersonTagInfoResponse) ToJsonString ¶
func (r *ModifyPersonTagInfoResponse) ToJsonString() string
type ModifyPersonTypeRequest ¶
type ModifyPersonTypeRequest struct {
*tchttp.BaseRequest
// 集团ID
CompanyId *string `json:"CompanyId,omitempty" name:"CompanyId"`
// 门店ID
ShopId *uint64 `json:"ShopId,omitempty" name:"ShopId"`
// 顾客ID
PersonId *uint64 `json:"PersonId,omitempty" name:"PersonId"`
// 身份类型(0表示普通顾客,1 白名单,2 表示黑名单)
PersonType *uint64 `json:"PersonType,omitempty" name:"PersonType"`
// 身份子类型:
// PersonType=0时(普通顾客),0普通顾客
// PersonType=1时(白名单),0店员,1商场人员,2其他类型人员,3区域经理,4注册会员,5VIP用户
// PersonType=2时(黑名单),0普通黑名单,1小偷)
PersonSubType *uint64 `json:"PersonSubType,omitempty" name:"PersonSubType"`
}
func NewModifyPersonTypeRequest ¶
func NewModifyPersonTypeRequest() (request *ModifyPersonTypeRequest)
func (*ModifyPersonTypeRequest) FromJsonString ¶
func (r *ModifyPersonTypeRequest) FromJsonString(s string) error
func (*ModifyPersonTypeRequest) ToJsonString ¶
func (r *ModifyPersonTypeRequest) ToJsonString() string
type ModifyPersonTypeResponse ¶
type ModifyPersonTypeResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewModifyPersonTypeResponse ¶
func NewModifyPersonTypeResponse() (response *ModifyPersonTypeResponse)
func (*ModifyPersonTypeResponse) FromJsonString ¶
func (r *ModifyPersonTypeResponse) FromJsonString(s string) error
func (*ModifyPersonTypeResponse) ToJsonString ¶
func (r *ModifyPersonTypeResponse) ToJsonString() string
type NetworkAndShopInfo ¶
type NetworkAndShopInfo struct {
// 集团id
CompanyId *string `json:"CompanyId,omitempty" name:"CompanyId"`
// 店铺id
ShopId *int64 `json:"ShopId,omitempty" name:"ShopId"`
// 店铺省份
Province *string `json:"Province,omitempty" name:"Province"`
// 店铺城市
City *string `json:"City,omitempty" name:"City"`
// 店铺名
ShopName *string `json:"ShopName,omitempty" name:"ShopName"`
// 上传带宽,单位Mb/s,-1:未知
Upload *float64 `json:"Upload,omitempty" name:"Upload"`
// 下载带宽,单位Mb/s,-1:未知
Download *float64 `json:"Download,omitempty" name:"Download"`
// 最小延迟,单位ms,-1:未知
MinRtt *float64 `json:"MinRtt,omitempty" name:"MinRtt"`
// 平均延迟,单位ms,-1:未知
AvgRtt *float64 `json:"AvgRtt,omitempty" name:"AvgRtt"`
// 最大延迟,单位ms,-1:未知
MaxRtt *float64 `json:"MaxRtt,omitempty" name:"MaxRtt"`
// 平均偏差延迟,单位ms,-1:未知
MdevRtt *float64 `json:"MdevRtt,omitempty" name:"MdevRtt"`
// 丢包率百分比,-1:未知
Loss *float64 `json:"Loss,omitempty" name:"Loss"`
// 更新时间戳
UpdateTime *int64 `json:"UpdateTime,omitempty" name:"UpdateTime"`
// 上报网络状态设备
Mac *string `json:"Mac,omitempty" name:"Mac"`
}
type NetworkHistoryInfo ¶
type NetworkHistoryInfo struct {
// 总数
Count *int64 `json:"Count,omitempty" name:"Count"`
// 集团id
CompanyId *string `json:"CompanyId,omitempty" name:"CompanyId"`
// 店铺id
ShopId *int64 `json:"ShopId,omitempty" name:"ShopId"`
// 店铺省份
Province *string `json:"Province,omitempty" name:"Province"`
// 店铺城市
City *string `json:"City,omitempty" name:"City"`
// 店铺名称
ShopName *string `json:"ShopName,omitempty" name:"ShopName"`
// 网络信息
Infos []*NetworkInfo `json:"Infos,omitempty" name:"Infos" list`
}
type NetworkInfo ¶
type NetworkInfo struct {
// 上传带宽,单位Mb/s,-1:未知
Upload *float64 `json:"Upload,omitempty" name:"Upload"`
// 下载带宽,单位Mb/s,-1:未知
Download *float64 `json:"Download,omitempty" name:"Download"`
// 最小延迟,单位ms,-1:未知
MinRtt *float64 `json:"MinRtt,omitempty" name:"MinRtt"`
// 平均延迟,单位ms,-1:未知
AvgRtt *float64 `json:"AvgRtt,omitempty" name:"AvgRtt"`
// 最大延迟,单位ms,-1:未知
MaxRtt *float64 `json:"MaxRtt,omitempty" name:"MaxRtt"`
// 平均偏差延迟,单位ms,-1:未知
MdevRtt *float64 `json:"MdevRtt,omitempty" name:"MdevRtt"`
// 丢包率百分比,-1:未知
Loss *float64 `json:"Loss,omitempty" name:"Loss"`
// 更新时间戳
UpdateTime *int64 `json:"UpdateTime,omitempty" name:"UpdateTime"`
// 上报网络状态设备
Mac *string `json:"Mac,omitempty" name:"Mac"`
}
type NetworkLastInfo ¶
type NetworkLastInfo struct {
// 总数
Count *int64 `json:"Count,omitempty" name:"Count"`
// 网络状态
Infos []*NetworkAndShopInfo `json:"Infos,omitempty" name:"Infos" list`
}
type PersonCoordinate ¶
type PersonCoordinate struct {
// CAD图X坐标
CADX *float64 `json:"CADX,omitempty" name:"CADX"`
// CAD图Y坐标
CADY *float64 `json:"CADY,omitempty" name:"CADY"`
// 抓拍时间点
CapTime *string `json:"CapTime,omitempty" name:"CapTime"`
// 抓拍图片
CapPic *string `json:"CapPic,omitempty" name:"CapPic"`
// 卖场区域类型
MallAreaType *int64 `json:"MallAreaType,omitempty" name:"MallAreaType"`
// 坐标编号
PosId *int64 `json:"PosId,omitempty" name:"PosId"`
// 门店编号
ShopId *int64 `json:"ShopId,omitempty" name:"ShopId"`
// 事件
Event *string `json:"Event,omitempty" name:"Event"`
}
type PersonInfo ¶
type PersonInfo struct {
// 用户ID
PersonId *uint64 `json:"PersonId,omitempty" name:"PersonId"`
// 人脸图片Base64内容,已弃用,返回默认空值
PersonPicture *string `json:"PersonPicture,omitempty" name:"PersonPicture"`
// 性别:0男1女
Gender *int64 `json:"Gender,omitempty" name:"Gender"`
// 年龄
Age *int64 `json:"Age,omitempty" name:"Age"`
// 身份类型(0表示普通顾客,1 白名单,2 表示黑名单)
PersonType *int64 `json:"PersonType,omitempty" name:"PersonType"`
// 人脸图片Url,在有效期内可以访问下载
PersonPictureUrl *string `json:"PersonPictureUrl,omitempty" name:"PersonPictureUrl"`
// 身份子类型:
// PersonType=0时(普通顾客),0普通顾客
// PersonType=1时(白名单),0店员,1商场人员,2其他类型人员,3区域经理,4注册用户,5VIP用户
// PersonType=2时(黑名单),0普通黑名单,1小偷)
PersonSubType *int64 `json:"PersonSubType,omitempty" name:"PersonSubType"`
// 到访次数,-1表示未知
VisitTimes *int64 `json:"VisitTimes,omitempty" name:"VisitTimes"`
// 到访天数,-1表示未知
VisitDays *int64 `json:"VisitDays,omitempty" name:"VisitDays"`
}
type PersonProfile ¶
type PersonProfile struct {
// 客人编码
PersonId *string `json:"PersonId,omitempty" name:"PersonId"`
// 性别
Gender *uint64 `json:"Gender,omitempty" name:"Gender"`
// 年龄
Age *uint64 `json:"Age,omitempty" name:"Age"`
// 首次到场时间
FirstArrivedTime *string `json:"FirstArrivedTime,omitempty" name:"FirstArrivedTime"`
// 来访次数
ArrivedCount *uint64 `json:"ArrivedCount,omitempty" name:"ArrivedCount"`
// 客户图片
PicUrl *string `json:"PicUrl,omitempty" name:"PicUrl"`
// 置信度
Similarity *float64 `json:"Similarity,omitempty" name:"Similarity"`
}
type PersonTagInfo ¶
type PersonTracePoint ¶
type PersonTracePoint struct {
// 卖场区域编码
MallAreaId *uint64 `json:"MallAreaId,omitempty" name:"MallAreaId"`
// 门店编码
ShopId *uint64 `json:"ShopId,omitempty" name:"ShopId"`
// 卖场区域类型
MallAreaType *uint64 `json:"MallAreaType,omitempty" name:"MallAreaType"`
// 轨迹事件
TraceEventType *uint64 `json:"TraceEventType,omitempty" name:"TraceEventType"`
// 轨迹事件发生时间点
TraceEventTime *string `json:"TraceEventTime,omitempty" name:"TraceEventTime"`
// 抓拍图片
CapPic *string `json:"CapPic,omitempty" name:"CapPic"`
// 购物袋类型
ShoppingBagType *uint64 `json:"ShoppingBagType,omitempty" name:"ShoppingBagType"`
// 购物袋数量
ShoppingBagCount *uint64 `json:"ShoppingBagCount,omitempty" name:"ShoppingBagCount"`
}
type PersonTraceRoute ¶
type PersonTraceRoute struct {
// 轨迹编码
TraceId *string `json:"TraceId,omitempty" name:"TraceId"`
// 轨迹点序列
TracePointSet []*PersonTracePoint `json:"TracePointSet,omitempty" name:"TracePointSet" list`
}
type PersonVisitInfo ¶
type PersonVisitInfo struct {
// 用户ID
PersonId *uint64 `json:"PersonId,omitempty" name:"PersonId"`
// 用户到访ID
VisitId *uint64 `json:"VisitId,omitempty" name:"VisitId"`
// 到访时间:Unix时间戳
InTime *uint64 `json:"InTime,omitempty" name:"InTime"`
// 抓拍到的头像Base64内容,已弃用,返回默认空值
CapturedPicture *string `json:"CapturedPicture,omitempty" name:"CapturedPicture"`
// 口罩类型:0不戴口罩,1戴口罩
MaskType *uint64 `json:"MaskType,omitempty" name:"MaskType"`
// 眼镜类型:0不戴眼镜,1普通眼镜 , 2墨镜
GlassType *uint64 `json:"GlassType,omitempty" name:"GlassType"`
// 发型:0 短发, 1长发
HairType *uint64 `json:"HairType,omitempty" name:"HairType"`
// 抓拍到的头像Url,在有效期内可以访问下载
CapturedPictureUrl *string `json:"CapturedPictureUrl,omitempty" name:"CapturedPictureUrl"`
// 抓拍头像的场景图信息
SceneInfo *SceneInfo `json:"SceneInfo,omitempty" name:"SceneInfo"`
}
type RegisterCallbackRequest ¶
type RegisterCallbackRequest struct {
*tchttp.BaseRequest
// 集团id,通过"指定身份标识获取客户门店列表"接口获取
CompanyId *string `json:"CompanyId,omitempty" name:"CompanyId"`
// 通知回调地址,完整url,示例(http://youmall.tencentcloudapi.com/)
BackUrl *string `json:"BackUrl,omitempty" name:"BackUrl"`
// 请求时间戳
Time *uint64 `json:"Time,omitempty" name:"Time"`
// 是否需要顾客图片,1-需要图片,其它-不需要图片
NeedFacePic *uint64 `json:"NeedFacePic,omitempty" name:"NeedFacePic"`
}
func NewRegisterCallbackRequest ¶
func NewRegisterCallbackRequest() (request *RegisterCallbackRequest)
func (*RegisterCallbackRequest) FromJsonString ¶
func (r *RegisterCallbackRequest) FromJsonString(s string) error
func (*RegisterCallbackRequest) ToJsonString ¶
func (r *RegisterCallbackRequest) ToJsonString() string
type RegisterCallbackResponse ¶
type RegisterCallbackResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewRegisterCallbackResponse ¶
func NewRegisterCallbackResponse() (response *RegisterCallbackResponse)
func (*RegisterCallbackResponse) FromJsonString ¶
func (r *RegisterCallbackResponse) FromJsonString(s string) error
func (*RegisterCallbackResponse) ToJsonString ¶
func (r *RegisterCallbackResponse) ToJsonString() string
type SceneInfo ¶
type SceneInfo struct {
// 场景图
ScenePictureURL *string `json:"ScenePictureURL,omitempty" name:"ScenePictureURL"`
// 抓拍头像左上角X坐标在场景图中的像素点位置
HeadX *int64 `json:"HeadX,omitempty" name:"HeadX"`
// 抓拍头像左上角Y坐标在场景图中的像素点位置
HeadY *int64 `json:"HeadY,omitempty" name:"HeadY"`
// 抓拍头像在场景图中占有的像素宽度
HeadWidth *int64 `json:"HeadWidth,omitempty" name:"HeadWidth"`
// 抓拍头像在场景图中占有的像素高度
HeadHeight *int64 `json:"HeadHeight,omitempty" name:"HeadHeight"`
}
type ShopDayTrafficInfo ¶
type ShopDayTrafficInfo struct {
// 日期
Date *string `json:"Date,omitempty" name:"Date"`
// 客流量
DayTrafficTotalCount *uint64 `json:"DayTrafficTotalCount,omitempty" name:"DayTrafficTotalCount"`
// 性别年龄分组下的客流信息
GenderAgeTrafficDetailSet []*GenderAgeTrafficDetail `json:"GenderAgeTrafficDetailSet,omitempty" name:"GenderAgeTrafficDetailSet" list`
}
type ShopHourTrafficInfo ¶
type ShopHourTrafficInfo struct {
// 日期,格式yyyy-MM-dd
Date *string `json:"Date,omitempty" name:"Date"`
// 分时客流详细信息
HourTrafficInfoDetailSet []*HourTrafficInfoDetail `json:"HourTrafficInfoDetailSet,omitempty" name:"HourTrafficInfoDetailSet" list`
}
type ShopInfo ¶
type ShopInfo struct {
// 公司ID
CompanyId *string `json:"CompanyId,omitempty" name:"CompanyId"`
// 门店ID
ShopId *uint64 `json:"ShopId,omitempty" name:"ShopId"`
// 门店名称
ShopName *string `json:"ShopName,omitempty" name:"ShopName"`
// 客户门店编码
ShopCode *string `json:"ShopCode,omitempty" name:"ShopCode"`
// 省
Province *string `json:"Province,omitempty" name:"Province"`
// 市
City *string `json:"City,omitempty" name:"City"`
// 公司名称
CompanyName *string `json:"CompanyName,omitempty" name:"CompanyName"`
}
type TrajectorySunData ¶
type ZoneAgeGroupAvrStayTime ¶
type ZoneDayFlow ¶
type ZoneFlowAndAvrStayTime ¶
type ZoneFlowAndAvrStayTime struct {
// 区域id
ZoneId *int64 `json:"ZoneId,omitempty" name:"ZoneId"`
// 区域名称
ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`
// 人流量
FlowCount *uint64 `json:"FlowCount,omitempty" name:"FlowCount"`
// 平均停留时长
AvrStayTime *uint64 `json:"AvrStayTime,omitempty" name:"AvrStayTime"`
}
type ZoneHourFlow ¶
type ZoneTrafficInfo ¶
type ZoneTrafficInfo struct {
// 日期
Date *string `json:"Date,omitempty" name:"Date"`
// 门店区域客流详细信息
ZoneTrafficInfoDetailSet []*ZoneTrafficInfoDetail `json:"ZoneTrafficInfoDetailSet,omitempty" name:"ZoneTrafficInfoDetailSet" list`
}
type ZoneTrafficInfoDetail ¶
type ZoneTrafficInfoDetail struct {
// 区域ID
ZoneId *uint64 `json:"ZoneId,omitempty" name:"ZoneId"`
// 区域名称
ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`
// 客流量
TrafficTotalCount *uint64 `json:"TrafficTotalCount,omitempty" name:"TrafficTotalCount"`
// 平均停留时间
AvgStayTime *uint64 `json:"AvgStayTime,omitempty" name:"AvgStayTime"`
}