shenjing

package
v1.2.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 11, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package shenjing 包含神鲸应用API相关结构体

https://open.taobao.com/API.htm?docType=2&docId=41196

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlibabaIbShenjingVisitorPadFetchcodeverifyAPIRequest added in v1.2.0

type AlibabaIbShenjingVisitorPadFetchcodeverifyAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaIbShenjingVisitorPadFetchcodeverifyAPIRequest 访客通过PAD提交访客码 API请求 alibaba.ib.shenjing.visitor.pad.fetchcodeverify

访客通过PAD提交访客码,录脸进入园区。

func NewAlibabaIbShenjingVisitorPadFetchcodeverifyRequest

func NewAlibabaIbShenjingVisitorPadFetchcodeverifyRequest() *AlibabaIbShenjingVisitorPadFetchcodeverifyAPIRequest

NewAlibabaIbShenjingVisitorPadFetchcodeverifyRequest 初始化AlibabaIbShenjingVisitorPadFetchcodeverifyAPIRequest对象

func (AlibabaIbShenjingVisitorPadFetchcodeverifyAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaIbShenjingVisitorPadFetchcodeverifyAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaIbShenjingVisitorPadFetchcodeverifyAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabaIbShenjingVisitorPadFetchcodeverifyAPIRequest) GetTermId added in v1.2.0

GetTermId TermId Getter

func (AlibabaIbShenjingVisitorPadFetchcodeverifyAPIRequest) GetVisitorCode added in v1.2.0

GetVisitorCode VisitorCode Getter

func (*AlibabaIbShenjingVisitorPadFetchcodeverifyAPIRequest) SetTermId added in v1.2.0

SetTermId is TermId Setter 终端ID

func (*AlibabaIbShenjingVisitorPadFetchcodeverifyAPIRequest) SetVisitorCode added in v1.2.0

func (r *AlibabaIbShenjingVisitorPadFetchcodeverifyAPIRequest) SetVisitorCode(_visitorCode int64) error

SetVisitorCode is VisitorCode Setter 访客码

type AlibabaIbShenjingVisitorPadFetchcodeverifyAPIResponse

type AlibabaIbShenjingVisitorPadFetchcodeverifyAPIResponse struct {
	model.CommonResponse
	AlibabaIbShenjingVisitorPadFetchcodeverifyAPIResponseModel
}

AlibabaIbShenjingVisitorPadFetchcodeverifyAPIResponse 访客通过PAD提交访客码 API返回值 alibaba.ib.shenjing.visitor.pad.fetchcodeverify

访客通过PAD提交访客码,录脸进入园区。

type AlibabaIbShenjingVisitorPadFetchcodeverifyAPIResponseModel added in v1.2.0

type AlibabaIbShenjingVisitorPadFetchcodeverifyAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ib_shenjing_visitor_pad_fetchcodeverify_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误码
	ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"`
	// request_id
	ResultRequestId string `json:"result_request_id,omitempty" xml:"result_request_id,omitempty"`
	// 错误信息
	ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"`
	// 内容
	Content *Content `json:"content,omitempty" xml:"content,omitempty"`
}

AlibabaIbShenjingVisitorPadFetchcodeverifyAPIResponseModel is 访客通过PAD提交访客码 成功返回结果

type AlibabaIbShenjingVisitorPadGetinfoAPIRequest added in v1.2.0

type AlibabaIbShenjingVisitorPadGetinfoAPIRequest struct {
	model.Params
}

AlibabaIbShenjingVisitorPadGetinfoAPIRequest 获取OSS上传参数 API请求 alibaba.ib.shenjing.visitor.pad.getinfo

PAD 端获取OSS上传参数,向OSS服务器上传图片。

func NewAlibabaIbShenjingVisitorPadGetinfoRequest

func NewAlibabaIbShenjingVisitorPadGetinfoRequest() *AlibabaIbShenjingVisitorPadGetinfoAPIRequest

NewAlibabaIbShenjingVisitorPadGetinfoRequest 初始化AlibabaIbShenjingVisitorPadGetinfoAPIRequest对象

func (AlibabaIbShenjingVisitorPadGetinfoAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaIbShenjingVisitorPadGetinfoAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaIbShenjingVisitorPadGetinfoAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

type AlibabaIbShenjingVisitorPadGetinfoAPIResponse

type AlibabaIbShenjingVisitorPadGetinfoAPIResponse struct {
	model.CommonResponse
	AlibabaIbShenjingVisitorPadGetinfoAPIResponseModel
}

AlibabaIbShenjingVisitorPadGetinfoAPIResponse 获取OSS上传参数 API返回值 alibaba.ib.shenjing.visitor.pad.getinfo

PAD 端获取OSS上传参数,向OSS服务器上传图片。

type AlibabaIbShenjingVisitorPadGetinfoAPIResponseModel added in v1.2.0

type AlibabaIbShenjingVisitorPadGetinfoAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ib_shenjing_visitor_pad_getinfo_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 响应对象
	ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"`
	// 放回中文提示
	ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"`
	// request_id
	ResultRequestId string `json:"result_request_id,omitempty" xml:"result_request_id,omitempty"`
	// 返回状态码
	Content *PostObjectPolicyVo `json:"content,omitempty" xml:"content,omitempty"`
	// 是否成功
	ResultSuccess bool `json:"result_success,omitempty" xml:"result_success,omitempty"`
}

AlibabaIbShenjingVisitorPadGetinfoAPIResponseModel is 获取OSS上传参数 成功返回结果

type AlibabaIbShenjingVisitorPadGetqrcodelinkAPIRequest added in v1.2.0

type AlibabaIbShenjingVisitorPadGetqrcodelinkAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaIbShenjingVisitorPadGetqrcodelinkAPIRequest pad获取二维码 API请求 alibaba.ib.shenjing.visitor.pad.getqrcodelink

pad获取二维码链接。扫码录入人脸。

func NewAlibabaIbShenjingVisitorPadGetqrcodelinkRequest

func NewAlibabaIbShenjingVisitorPadGetqrcodelinkRequest() *AlibabaIbShenjingVisitorPadGetqrcodelinkAPIRequest

NewAlibabaIbShenjingVisitorPadGetqrcodelinkRequest 初始化AlibabaIbShenjingVisitorPadGetqrcodelinkAPIRequest对象

func (AlibabaIbShenjingVisitorPadGetqrcodelinkAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaIbShenjingVisitorPadGetqrcodelinkAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaIbShenjingVisitorPadGetqrcodelinkAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabaIbShenjingVisitorPadGetqrcodelinkAPIRequest) GetTermId added in v1.2.0

GetTermId TermId Getter

func (*AlibabaIbShenjingVisitorPadGetqrcodelinkAPIRequest) SetTermId added in v1.2.0

SetTermId is TermId Setter 终端id

type AlibabaIbShenjingVisitorPadGetqrcodelinkAPIResponse

type AlibabaIbShenjingVisitorPadGetqrcodelinkAPIResponse struct {
	model.CommonResponse
	AlibabaIbShenjingVisitorPadGetqrcodelinkAPIResponseModel
}

AlibabaIbShenjingVisitorPadGetqrcodelinkAPIResponse pad获取二维码 API返回值 alibaba.ib.shenjing.visitor.pad.getqrcodelink

pad获取二维码链接。扫码录入人脸。

type AlibabaIbShenjingVisitorPadGetqrcodelinkAPIResponseModel added in v1.2.0

type AlibabaIbShenjingVisitorPadGetqrcodelinkAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ib_shenjing_visitor_pad_getqrcodelink_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 内容
	Content string `json:"content,omitempty" xml:"content,omitempty"`
	// 错误码
	ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"`
	// 错误信息
	ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"`
	// 等级
	ResultLevel string `json:"result_level,omitempty" xml:"result_level,omitempty"`
	// request_id
	ResultRequestId string `json:"result_request_id,omitempty" xml:"result_request_id,omitempty"`
	// 是否成功
	ResultSuccess bool `json:"result_success,omitempty" xml:"result_success,omitempty"`
}

AlibabaIbShenjingVisitorPadGetqrcodelinkAPIResponseModel is pad获取二维码 成功返回结果

type AlibabaIbShenjingVisitorPadOpendoorAPIRequest added in v1.2.0

type AlibabaIbShenjingVisitorPadOpendoorAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaIbShenjingVisitorPadOpendoorAPIRequest 访客发起开门 API请求 alibaba.ib.shenjing.visitor.pad.opendoor

访客PAD端录入完人脸后,可以点击开门按钮开门。

func NewAlibabaIbShenjingVisitorPadOpendoorRequest

func NewAlibabaIbShenjingVisitorPadOpendoorRequest() *AlibabaIbShenjingVisitorPadOpendoorAPIRequest

NewAlibabaIbShenjingVisitorPadOpendoorRequest 初始化AlibabaIbShenjingVisitorPadOpendoorAPIRequest对象

func (AlibabaIbShenjingVisitorPadOpendoorAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaIbShenjingVisitorPadOpendoorAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaIbShenjingVisitorPadOpendoorAPIRequest) GetId added in v1.2.0

GetId Id Getter

func (AlibabaIbShenjingVisitorPadOpendoorAPIRequest) GetPadId added in v1.2.0

GetPadId PadId Getter

func (AlibabaIbShenjingVisitorPadOpendoorAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabaIbShenjingVisitorPadOpendoorAPIRequest) SetId added in v1.2.0

SetId is Id Setter 访客标识

func (*AlibabaIbShenjingVisitorPadOpendoorAPIRequest) SetPadId added in v1.2.0

SetPadId is PadId Setter padid

type AlibabaIbShenjingVisitorPadOpendoorAPIResponse

type AlibabaIbShenjingVisitorPadOpendoorAPIResponse struct {
	model.CommonResponse
	AlibabaIbShenjingVisitorPadOpendoorAPIResponseModel
}

AlibabaIbShenjingVisitorPadOpendoorAPIResponse 访客发起开门 API返回值 alibaba.ib.shenjing.visitor.pad.opendoor

访客PAD端录入完人脸后,可以点击开门按钮开门。

type AlibabaIbShenjingVisitorPadOpendoorAPIResponseModel added in v1.2.0

type AlibabaIbShenjingVisitorPadOpendoorAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ib_shenjing_visitor_pad_opendoor_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 状态码
	ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"`
	// 请求request_id
	ResultRequestId string `json:"result_request_id,omitempty" xml:"result_request_id,omitempty"`
	// 状态描述
	ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"`
	// 业务处理结果
	Content bool `json:"content,omitempty" xml:"content,omitempty"`
	// 是否成功
	ResultSuccess bool `json:"result_success,omitempty" xml:"result_success,omitempty"`
}

AlibabaIbShenjingVisitorPadOpendoorAPIResponseModel is 访客发起开门 成功返回结果

type AlibabaIbShenjingVisitorPadUploadfaceAPIRequest added in v1.2.0

type AlibabaIbShenjingVisitorPadUploadfaceAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaIbShenjingVisitorPadUploadfaceAPIRequest 访客PAD上传人脸 API请求 alibaba.ib.shenjing.visitor.pad.uploadface

访客PAD端上传人脸。

func NewAlibabaIbShenjingVisitorPadUploadfaceRequest

func NewAlibabaIbShenjingVisitorPadUploadfaceRequest() *AlibabaIbShenjingVisitorPadUploadfaceAPIRequest

NewAlibabaIbShenjingVisitorPadUploadfaceRequest 初始化AlibabaIbShenjingVisitorPadUploadfaceAPIRequest对象

func (AlibabaIbShenjingVisitorPadUploadfaceAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaIbShenjingVisitorPadUploadfaceAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaIbShenjingVisitorPadUploadfaceAPIRequest) GetId added in v1.2.0

GetId Id Getter

func (AlibabaIbShenjingVisitorPadUploadfaceAPIRequest) GetImage added in v1.2.0

GetImage Image Getter

func (AlibabaIbShenjingVisitorPadUploadfaceAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabaIbShenjingVisitorPadUploadfaceAPIRequest) SetId added in v1.2.0

SetId is Id Setter 访客ID

func (*AlibabaIbShenjingVisitorPadUploadfaceAPIRequest) SetImage added in v1.2.0

SetImage is Image Setter 图片URL

type AlibabaIbShenjingVisitorPadUploadfaceAPIResponse

type AlibabaIbShenjingVisitorPadUploadfaceAPIResponse struct {
	model.CommonResponse
	AlibabaIbShenjingVisitorPadUploadfaceAPIResponseModel
}

AlibabaIbShenjingVisitorPadUploadfaceAPIResponse 访客PAD上传人脸 API返回值 alibaba.ib.shenjing.visitor.pad.uploadface

访客PAD端上传人脸。

type AlibabaIbShenjingVisitorPadUploadfaceAPIResponseModel added in v1.2.0

type AlibabaIbShenjingVisitorPadUploadfaceAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ib_shenjing_visitor_pad_uploadface_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误码
	ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"`
	// 错误信息
	ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"`
	// request_id
	ResultRequestId string `json:"result_request_id,omitempty" xml:"result_request_id,omitempty"`
	// 内容
	Content *UploadFaceDo `json:"content,omitempty" xml:"content,omitempty"`
}

AlibabaIbShenjingVisitorPadUploadfaceAPIResponseModel is 访客PAD上传人脸 成功返回结果

type AlibabaShenjingCoreActivityGetappshowlistAPIRequest added in v1.2.0

type AlibabaShenjingCoreActivityGetappshowlistAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaShenjingCoreActivityGetappshowlistAPIRequest 获取神鲸活动列表 API请求 alibaba.shenjing.core.activity.getappshowlist

获取神鲸活动列表

func NewAlibabaShenjingCoreActivityGetappshowlistRequest

func NewAlibabaShenjingCoreActivityGetappshowlistRequest() *AlibabaShenjingCoreActivityGetappshowlistAPIRequest

NewAlibabaShenjingCoreActivityGetappshowlistRequest 初始化AlibabaShenjingCoreActivityGetappshowlistAPIRequest对象

func (AlibabaShenjingCoreActivityGetappshowlistAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaShenjingCoreActivityGetappshowlistAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaShenjingCoreActivityGetappshowlistAPIRequest) GetPage added in v1.2.0

GetPage Page Getter

func (AlibabaShenjingCoreActivityGetappshowlistAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabaShenjingCoreActivityGetappshowlistAPIRequest) GetSize added in v1.2.0

GetSize Size Getter

func (AlibabaShenjingCoreActivityGetappshowlistAPIRequest) GetTimestamp1 added in v1.2.0

GetTimestamp1 Timestamp1 Getter

func (AlibabaShenjingCoreActivityGetappshowlistAPIRequest) GetWorkBenchContext added in v1.2.0

GetWorkBenchContext WorkBenchContext Getter

func (*AlibabaShenjingCoreActivityGetappshowlistAPIRequest) SetPage added in v1.2.0

SetPage is Page Setter 页码

func (*AlibabaShenjingCoreActivityGetappshowlistAPIRequest) SetSize added in v1.2.0

SetSize is Size Setter 一页行数

func (*AlibabaShenjingCoreActivityGetappshowlistAPIRequest) SetTimestamp1 added in v1.2.0

func (r *AlibabaShenjingCoreActivityGetappshowlistAPIRequest) SetTimestamp1(_timestamp1 int64) error

SetTimestamp1 is Timestamp1 Setter 时间戳

func (*AlibabaShenjingCoreActivityGetappshowlistAPIRequest) SetWorkBenchContext added in v1.2.0

func (r *AlibabaShenjingCoreActivityGetappshowlistAPIRequest) SetWorkBenchContext(_workBenchContext *WorkBenchContext) error

SetWorkBenchContext is WorkBenchContext Setter 验权对象

type AlibabaShenjingCoreActivityGetappshowlistAPIResponse

type AlibabaShenjingCoreActivityGetappshowlistAPIResponse struct {
	model.CommonResponse
	AlibabaShenjingCoreActivityGetappshowlistAPIResponseModel
}

AlibabaShenjingCoreActivityGetappshowlistAPIResponse 获取神鲸活动列表 API返回值 alibaba.shenjing.core.activity.getappshowlist

获取神鲸活动列表

type AlibabaShenjingCoreActivityGetappshowlistAPIResponseModel added in v1.2.0

type AlibabaShenjingCoreActivityGetappshowlistAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_shenjing_core_activity_getappshowlist_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回的结果对象
	Result *PageResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaShenjingCoreActivityGetappshowlistAPIResponseModel is 获取神鲸活动列表 成功返回结果

type AlibabaShenjingCoreActivityGetappshowlistT

type AlibabaShenjingCoreActivityGetappshowlistT struct {
	// 获取地址
	FullAdress string `json:"full_adress,omitempty" xml:"full_adress,omitempty"`
	// 活动详情的URL地址
	ActDetailUrl string `json:"act_detail_url,omitempty" xml:"act_detail_url,omitempty"`
	// 活动的内容
	Content string `json:"content,omitempty" xml:"content,omitempty"`
	// 发布状态  "draft":"草稿","wait":"待发布",  "underway":"进行中",  "over":"已结束",  "insertingcoil":"已下线"
	Status string `json:"status,omitempty" xml:"status,omitempty"`
	// 活动展示结束时间
	ViewEndTime string `json:"view_end_time,omitempty" xml:"view_end_time,omitempty"`
	// 活动展示开始时间
	ViewStartTime string `json:"view_start_time,omitempty" xml:"view_start_time,omitempty"`
	// 活动结束时间
	ActEndTime string `json:"act_end_time,omitempty" xml:"act_end_time,omitempty"`
	// 活动开始时间
	ActStartTime string `json:"act_start_time,omitempty" xml:"act_start_time,omitempty"`
	// 宣传图片多个,分隔
	Images string `json:"images,omitempty" xml:"images,omitempty"`
	// 活动名
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 物业公司ID
	WyCompanyId int64 `json:"wy_company_id,omitempty" xml:"wy_company_id,omitempty"`
	// 活动主键ID
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// 活动创建的时间戳
	Timestamp int64 `json:"timestamp,omitempty" xml:"timestamp,omitempty"`
}

AlibabaShenjingCoreActivityGetappshowlistT 结构体

type Content

type Content struct {
	// 访客名称
	VisitorLinkman string `json:"visitor_linkman,omitempty" xml:"visitor_linkman,omitempty"`
	// 访客ID
	Id string `json:"id,omitempty" xml:"id,omitempty"`
	// 邀请人
	ApplyUserName string `json:"apply_user_name,omitempty" xml:"apply_user_name,omitempty"`
	// 公司名称
	EmpOrgName string `json:"emp_org_name,omitempty" xml:"emp_org_name,omitempty"`
	// 总计来访人数
	VisitorFacePhotoTotalNum int64 `json:"visitor_face_photo_total_num,omitempty" xml:"visitor_face_photo_total_num,omitempty"`
	// 当前上传人脸数
	VisitorFacePhotoCurrentNum int64 `json:"visitor_face_photo_current_num,omitempty" xml:"visitor_face_photo_current_num,omitempty"`
}

Content 结构体

type Page

type Page struct {
	// 活动列表
	Items []AlibabaShenjingCoreActivityGetappshowlistT `json:"items,omitempty" xml:"items>alibaba_shenjing_core_activity_getappshowlist_t,omitempty"`
	// 分页总数
	Total int64 `json:"total,omitempty" xml:"total,omitempty"`
	// 一页行数
	Limit int64 `json:"limit,omitempty" xml:"limit,omitempty"`
	// 分页总数
	TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"`
	// 一页行数
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// 当前页
	CurrentPage int64 `json:"current_page,omitempty" xml:"current_page,omitempty"`
	// 总页数
	TotalPage int64 `json:"total_page,omitempty" xml:"total_page,omitempty"`
}

Page 结构体

type PageResult

type PageResult struct {
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 返回内容(分页对象)
	Content *Page `json:"content,omitempty" xml:"content,omitempty"`
	// 成功标示
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

PageResult 结构体

type PostObjectPolicyVo

type PostObjectPolicyVo struct {
	// 阿里云RAM账号的accessId
	Accessid string `json:"accessid,omitempty" xml:"accessid,omitempty"`
	// 加密过的上传策略
	Policy string `json:"policy,omitempty" xml:"policy,omitempty"`
	// 上传策略签名
	Signature string `json:"signature,omitempty" xml:"signature,omitempty"`
	// 文件上传目录
	Dir string `json:"dir,omitempty" xml:"dir,omitempty"`
	// 上传策略有效时间
	Expire string `json:"expire,omitempty" xml:"expire,omitempty"`
	// oss的bucket访问路径
	Host string `json:"host,omitempty" xml:"host,omitempty"`
}

PostObjectPolicyVo 结构体

type ResultMap

type ResultMap struct {
	// 图片URL
	PhotoUrl string `json:"photo_url,omitempty" xml:"photo_url,omitempty"`
	// 园区名称
	CampusName string `json:"campus_name,omitempty" xml:"campus_name,omitempty"`
}

ResultMap 结构体

type UploadFaceDo

type UploadFaceDo struct {
	// 中文消息
	Desc string `json:"desc,omitempty" xml:"desc,omitempty"`
	// extDesc
	ExtDesc string `json:"ext_desc,omitempty" xml:"ext_desc,omitempty"`
	// 状态码
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// 访客总数
	VisitorFacePhotoTotalNum int64 `json:"visitor_face_photo_total_num,omitempty" xml:"visitor_face_photo_total_num,omitempty"`
	// 出参
	Map *ResultMap `json:"map,omitempty" xml:"map,omitempty"`
	// 当前上传人数
	VisitorFacePhotoCurrentNum int64 `json:"visitor_face_photo_current_num,omitempty" xml:"visitor_face_photo_current_num,omitempty"`
}

UploadFaceDo 结构体

type WorkBenchContext

type WorkBenchContext struct {
	// 授权的appCode
	AppCode string `json:"app_code,omitempty" xml:"app_code,omitempty"`
	// 系统ID
	SystemId string `json:"system_id,omitempty" xml:"system_id,omitempty"`
	// 公司ID
	CompanyId int64 `json:"company_id,omitempty" xml:"company_id,omitempty"`
	// 园区Id
	CampusId int64 `json:"campus_id,omitempty" xml:"campus_id,omitempty"`
}

WorkBenchContext 结构体

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL