larkacs

package
v3.0.9 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UserIdTypeUserId  = "user_id"  // 以user_id来识别用户
	UserIdTypeUnionId = "union_id" // 以union_id来识别用户
	UserIdTypeOpenId  = "open_id"  // 以open_id来识别用户
)
View Source
const (
	UserIdTypeGetUserUserId  = "user_id"  // 以user_id来识别用户
	UserIdTypeGetUserUnionId = "union_id" // 以union_id来识别用户
	UserIdTypeGetUserOpenId  = "open_id"  // 以open_id来识别用户
)
View Source
const (
	UserIdTypeListUserUserId  = "user_id"  // 以user_id来识别用户
	UserIdTypeListUserUnionId = "union_id" // 以union_id来识别用户
	UserIdTypeListUserOpenId  = "open_id"  // 以open_id来识别用户
)
View Source
const (
	UserIdTypePatchUserUserId  = "user_id"  // 以user_id来识别用户
	UserIdTypePatchUserUnionId = "union_id" // 以union_id来识别用户
	UserIdTypePatchUserOpenId  = "open_id"  // 以open_id来识别用户
)
View Source
const (
	UserIdTypeGetUserFaceUserId  = "user_id"  // 以user_id来识别用户
	UserIdTypeGetUserFaceUnionId = "union_id" // 以union_id来识别用户
	UserIdTypeGetUserFaceOpenId  = "open_id"  // 以open_id来识别用户
)
View Source
const (
	UserIdTypeUpdateUserFaceUserId  = "user_id"  // 以user_id来识别用户
	UserIdTypeUpdateUserFaceUnionId = "union_id" // 以union_id来识别用户
	UserIdTypeUpdateUserFaceOpenId  = "open_id"  // 以open_id来识别用户
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessRecord

type AccessRecord struct {
	AccessRecordId *string `json:"access_record_id,omitempty"` // 门禁记录 ID
	UserId         *string `json:"user_id,omitempty"`          // 门禁记录所属用户 ID
	DeviceId       *string `json:"device_id,omitempty"`        // 门禁设备 ID
	IsClockIn      *bool   `json:"is_clock_in,omitempty"`      // 是否是打卡
	AccessTime     *string `json:"access_time,omitempty"`      // 访问时间,单位秒
	AccessType     *string `json:"access_type,omitempty"`      // 识别方式
	AccessData     *string `json:"access_data,omitempty"`      // 识别相关数据,根据 access_type 不同,取值不同
	IsDoorOpen     *bool   `json:"is_door_open,omitempty"`     // 是否开门
}

type AccessRecordBuilder

type AccessRecordBuilder struct {
	// contains filtered or unexported fields
}

func NewAccessRecordBuilder

func NewAccessRecordBuilder() *AccessRecordBuilder

func (*AccessRecordBuilder) AccessData

func (builder *AccessRecordBuilder) AccessData(accessData string) *AccessRecordBuilder

识别相关数据,根据 access_type 不同,取值不同

示例值:{\"has_access_photo\":true}

func (*AccessRecordBuilder) AccessRecordId

func (builder *AccessRecordBuilder) AccessRecordId(accessRecordId string) *AccessRecordBuilder

门禁记录 ID

示例值:6939433228970082591

func (*AccessRecordBuilder) AccessTime

func (builder *AccessRecordBuilder) AccessTime(accessTime string) *AccessRecordBuilder

访问时间,单位秒

示例值:1624520221

func (*AccessRecordBuilder) AccessType

func (builder *AccessRecordBuilder) AccessType(accessType string) *AccessRecordBuilder

识别方式

示例值:FA

func (*AccessRecordBuilder) Build

func (builder *AccessRecordBuilder) Build() *AccessRecord

func (*AccessRecordBuilder) DeviceId

func (builder *AccessRecordBuilder) DeviceId(deviceId string) *AccessRecordBuilder

门禁设备 ID

示例值:6939433228970082593

func (*AccessRecordBuilder) IsClockIn

func (builder *AccessRecordBuilder) IsClockIn(isClockIn bool) *AccessRecordBuilder

是否是打卡

示例值:true

func (*AccessRecordBuilder) IsDoorOpen

func (builder *AccessRecordBuilder) IsDoorOpen(isDoorOpen bool) *AccessRecordBuilder

是否开门

示例值:true

func (*AccessRecordBuilder) UserId

func (builder *AccessRecordBuilder) UserId(userId string) *AccessRecordBuilder

门禁记录所属用户 ID

示例值:ou_7dab8a3d3cdcc9da365777c7ad535d62

type AcsService

type AcsService struct {
	AccessRecord            *accessRecord            // 门禁记录
	AccessRecordAccessPhoto *accessRecordAccessPhoto // 识别图片
	Device                  *device                  // 门禁设备
	User                    *user                    // 用户
	UserFace                *userFace                // 人脸图片
	// contains filtered or unexported fields
}

func NewService

func NewService(config *larkcore.Config) *AcsService

type Device

type Device struct {
	DeviceId   *string `json:"device_id,omitempty"`   // 门禁设备 ID
	DeviceName *string `json:"device_name,omitempty"` // 设备名称
	DeviceSn   *string `json:"device_sn,omitempty"`   // 设备 SN 码
}

type DeviceBuilder

type DeviceBuilder struct {
	// contains filtered or unexported fields
}

func NewDeviceBuilder

func NewDeviceBuilder() *DeviceBuilder

func (*DeviceBuilder) Build

func (builder *DeviceBuilder) Build() *Device

func (*DeviceBuilder) DeviceId

func (builder *DeviceBuilder) DeviceId(deviceId string) *DeviceBuilder

门禁设备 ID

示例值:6939433228970082593

func (*DeviceBuilder) DeviceName

func (builder *DeviceBuilder) DeviceName(deviceName string) *DeviceBuilder

设备名称

示例值:东门

func (*DeviceBuilder) DeviceSn

func (builder *DeviceBuilder) DeviceSn(deviceSn string) *DeviceBuilder

设备 SN 码

示例值:3X811621174000240

type Feature

type Feature struct {
	Card         *int  `json:"card,omitempty"`          // 卡号
	FaceUploaded *bool `json:"face_uploaded,omitempty"` // 是否已上传人脸图片
}

type FeatureBuilder

type FeatureBuilder struct {
	// contains filtered or unexported fields
}

func NewFeatureBuilder

func NewFeatureBuilder() *FeatureBuilder

func (*FeatureBuilder) Build

func (builder *FeatureBuilder) Build() *Feature

func (*FeatureBuilder) Card

func (builder *FeatureBuilder) Card(card int) *FeatureBuilder

卡号

示例值:123456

func (*FeatureBuilder) FaceUploaded

func (builder *FeatureBuilder) FaceUploaded(faceUploaded bool) *FeatureBuilder

是否已上传人脸图片

示例值:true

type File

type File struct {
	Files    io.Reader `json:"files,omitempty"`     // 人脸图片内容
	FileType *string   `json:"file_type,omitempty"` // 文件类型,可选的类型有jpg,png
	FileName *string   `json:"file_name,omitempty"` // 带后缀的文件名
}

type FileBuilder

type FileBuilder struct {
	// contains filtered or unexported fields
}

func NewFileBuilder

func NewFileBuilder() *FileBuilder

func (*FileBuilder) Build

func (builder *FileBuilder) Build() *File

func (*FileBuilder) FileName

func (builder *FileBuilder) FileName(fileName string) *FileBuilder

带后缀的文件名

示例值:efeqz12f.jpg

func (*FileBuilder) FileType

func (builder *FileBuilder) FileType(fileType string) *FileBuilder

文件类型,可选的类型有jpg,png

示例值:jpg

func (*FileBuilder) Files

func (builder *FileBuilder) Files(files io.Reader) *FileBuilder

人脸图片内容

示例值:jpg图片

type GetAccessRecordAccessPhotoReq

type GetAccessRecordAccessPhotoReq struct {
	// contains filtered or unexported fields
}

type GetAccessRecordAccessPhotoReqBuilder

type GetAccessRecordAccessPhotoReqBuilder struct {
	// contains filtered or unexported fields
}

func NewGetAccessRecordAccessPhotoReqBuilder

func NewGetAccessRecordAccessPhotoReqBuilder() *GetAccessRecordAccessPhotoReqBuilder

func (*GetAccessRecordAccessPhotoReqBuilder) AccessRecordId

func (builder *GetAccessRecordAccessPhotoReqBuilder) AccessRecordId(accessRecordId string) *GetAccessRecordAccessPhotoReqBuilder

门禁访问记录 ID

示例值:6939433228970082591

func (*GetAccessRecordAccessPhotoReqBuilder) Build

type GetAccessRecordAccessPhotoResp

type GetAccessRecordAccessPhotoResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	File     io.Reader `json:"-"`
	FileName string    `json:"-"`
}

func (*GetAccessRecordAccessPhotoResp) Success

func (resp *GetAccessRecordAccessPhotoResp) Success() bool

func (*GetAccessRecordAccessPhotoResp) WriteFile

func (resp *GetAccessRecordAccessPhotoResp) WriteFile(fileName string) error

type GetUserFaceReq

type GetUserFaceReq struct {
	// contains filtered or unexported fields
}

type GetUserFaceReqBuilder

type GetUserFaceReqBuilder struct {
	// contains filtered or unexported fields
}

func NewGetUserFaceReqBuilder

func NewGetUserFaceReqBuilder() *GetUserFaceReqBuilder

func (*GetUserFaceReqBuilder) Build

func (builder *GetUserFaceReqBuilder) Build() *GetUserFaceReq

func (*GetUserFaceReqBuilder) IsCropped

func (builder *GetUserFaceReqBuilder) IsCropped(isCropped bool) *GetUserFaceReqBuilder

裁剪图

示例值:true

func (*GetUserFaceReqBuilder) UserId

func (builder *GetUserFaceReqBuilder) UserId(userId string) *GetUserFaceReqBuilder

用户 ID

示例值:ou_7dab8a3d3cdcc9da365777c7ad535d62

func (*GetUserFaceReqBuilder) UserIdType

func (builder *GetUserFaceReqBuilder) UserIdType(userIdType string) *GetUserFaceReqBuilder

此次调用中使用的用户ID的类型

示例值:

type GetUserFaceResp

type GetUserFaceResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	File     io.Reader `json:"-"`
	FileName string    `json:"-"`
}

func (*GetUserFaceResp) Success

func (resp *GetUserFaceResp) Success() bool

func (*GetUserFaceResp) WriteFile

func (resp *GetUserFaceResp) WriteFile(fileName string) error

type GetUserReq

type GetUserReq struct {
	// contains filtered or unexported fields
}

type GetUserReqBuilder

type GetUserReqBuilder struct {
	// contains filtered or unexported fields
}

func NewGetUserReqBuilder

func NewGetUserReqBuilder() *GetUserReqBuilder

func (*GetUserReqBuilder) Build

func (builder *GetUserReqBuilder) Build() *GetUserReq

func (*GetUserReqBuilder) UserId

func (builder *GetUserReqBuilder) UserId(userId string) *GetUserReqBuilder

用户 ID

示例值:ou_7dab8a3d3cdcc9da365777c7ad535d62

func (*GetUserReqBuilder) UserIdType

func (builder *GetUserReqBuilder) UserIdType(userIdType string) *GetUserReqBuilder

此次调用中使用的用户ID的类型

示例值:

type GetUserResp

type GetUserResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *GetUserRespData `json:"data"` // 业务数据
}

func (*GetUserResp) Success

func (resp *GetUserResp) Success() bool

type GetUserRespData

type GetUserRespData struct {
	User *User `json:"user,omitempty"` // 门禁用户信息
}

type ListAccessRecordIterator

type ListAccessRecordIterator struct {
	// contains filtered or unexported fields
}

func (*ListAccessRecordIterator) Next

func (iterator *ListAccessRecordIterator) Next() (bool, *AccessRecord, error)

func (*ListAccessRecordIterator) NextPageToken

func (iterator *ListAccessRecordIterator) NextPageToken() *string

type ListAccessRecordReq

type ListAccessRecordReq struct {
	Limit int // 最多返回多少记录,只有在使用迭代器访问时,才有效
	// contains filtered or unexported fields
}

type ListAccessRecordReqBuilder

type ListAccessRecordReqBuilder struct {
	// contains filtered or unexported fields
}

func NewListAccessRecordReqBuilder

func NewListAccessRecordReqBuilder() *ListAccessRecordReqBuilder

func (*ListAccessRecordReqBuilder) Build

func (*ListAccessRecordReqBuilder) DeviceId

func (builder *ListAccessRecordReqBuilder) DeviceId(deviceId string) *ListAccessRecordReqBuilder

门禁设备 ID

示例值:7091146989218002577

func (*ListAccessRecordReqBuilder) From

记录开始时间,单位秒

示例值:1624520521

func (*ListAccessRecordReqBuilder) Limit

最大返回多少记录,当使用迭代器访问时才有效

func (*ListAccessRecordReqBuilder) PageSize

func (builder *ListAccessRecordReqBuilder) PageSize(pageSize int) *ListAccessRecordReqBuilder

分页大小

示例值:100

func (*ListAccessRecordReqBuilder) PageToken

func (builder *ListAccessRecordReqBuilder) PageToken(pageToken string) *ListAccessRecordReqBuilder

分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果

示例值:AQD9/Rn9eij9Pm39ED40/dk53s4Ebp882DYfFaPFbz00L4CMZJrqGdzNyc8BcZtDbwVUvRmQTvyMYicnGWrde9X56TgdBuS+JKiSIkdexPw=

func (*ListAccessRecordReqBuilder) To

记录结束时间,单位秒,;时间跨度不能超过30天

示例值:1624520521

func (*ListAccessRecordReqBuilder) UserIdType

func (builder *ListAccessRecordReqBuilder) UserIdType(userIdType string) *ListAccessRecordReqBuilder

此次调用中使用的用户ID的类型

示例值:

type ListAccessRecordResp

type ListAccessRecordResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *ListAccessRecordRespData `json:"data"` // 业务数据
}

func (*ListAccessRecordResp) Success

func (resp *ListAccessRecordResp) Success() bool

type ListAccessRecordRespData

type ListAccessRecordRespData struct {
	Items     []*AccessRecord `json:"items,omitempty"`      // -
	PageToken *string         `json:"page_token,omitempty"` // 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token
	HasMore   *bool           `json:"has_more,omitempty"`   // 是否还有更多项
}

type ListDeviceResp

type ListDeviceResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *ListDeviceRespData `json:"data"` // 业务数据
}

func (*ListDeviceResp) Success

func (resp *ListDeviceResp) Success() bool

type ListDeviceRespData

type ListDeviceRespData struct {
	Items []*Device `json:"items,omitempty"` // -
}

type ListUserIterator

type ListUserIterator struct {
	// contains filtered or unexported fields
}

func (*ListUserIterator) Next

func (iterator *ListUserIterator) Next() (bool, *User, error)

func (*ListUserIterator) NextPageToken

func (iterator *ListUserIterator) NextPageToken() *string

type ListUserReq

type ListUserReq struct {
	Limit int // 最多返回多少记录,只有在使用迭代器访问时,才有效
	// contains filtered or unexported fields
}

type ListUserReqBuilder

type ListUserReqBuilder struct {
	// contains filtered or unexported fields
}

func NewListUserReqBuilder

func NewListUserReqBuilder() *ListUserReqBuilder

func (*ListUserReqBuilder) Build

func (builder *ListUserReqBuilder) Build() *ListUserReq

func (*ListUserReqBuilder) Limit

func (builder *ListUserReqBuilder) Limit(limit int) *ListUserReqBuilder

最大返回多少记录,当使用迭代器访问时才有效

func (*ListUserReqBuilder) PageSize

func (builder *ListUserReqBuilder) PageSize(pageSize int) *ListUserReqBuilder

分页大小

示例值:10

func (*ListUserReqBuilder) PageToken

func (builder *ListUserReqBuilder) PageToken(pageToken string) *ListUserReqBuilder

分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果

示例值:10

func (*ListUserReqBuilder) UserIdType

func (builder *ListUserReqBuilder) UserIdType(userIdType string) *ListUserReqBuilder

此次调用中使用的用户ID的类型

示例值:

type ListUserResp

type ListUserResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *ListUserRespData `json:"data"` // 业务数据
}

func (*ListUserResp) Success

func (resp *ListUserResp) Success() bool

type ListUserRespData

type ListUserRespData struct {
	Items     []*User `json:"items,omitempty"`      // -
	PageToken *string `json:"page_token,omitempty"` // 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token
	HasMore   *bool   `json:"has_more,omitempty"`   // 是否还有更多项
}

type P2AccessRecordCreatedV1

type P2AccessRecordCreatedV1 struct {
	*larkevent.EventV2Base                              // 事件基础数据
	*larkevent.EventReq                                 // 请求原生数据
	Event                  *P2AccessRecordCreatedV1Data `json:"event"` // 事件内容
}

func (*P2AccessRecordCreatedV1) RawReq

func (m *P2AccessRecordCreatedV1) RawReq(req *larkevent.EventReq)

type P2AccessRecordCreatedV1Data

type P2AccessRecordCreatedV1Data struct {
	AccessRecordId *string `json:"access_record_id,omitempty"` // 门禁记录 ID
	UserId         *UserId `json:"user_id,omitempty"`          // 用户 ID
	DeviceId       *string `json:"device_id,omitempty"`        // 设备 ID
	IsClockIn      *bool   `json:"is_clock_in,omitempty"`      // 是否打卡
	IsDoorOpen     *bool   `json:"is_door_open,omitempty"`     // 是否开门
	AccessTime     *string `json:"access_time,omitempty"`      // 识别时间 (单位:秒)
}

type P2AccessRecordCreatedV1Handler

type P2AccessRecordCreatedV1Handler struct {
	// contains filtered or unexported fields
}

消息处理器定义

func (*P2AccessRecordCreatedV1Handler) Event

func (h *P2AccessRecordCreatedV1Handler) Event() interface{}

返回事件的消息体的实例,用于反序列化用

func (*P2AccessRecordCreatedV1Handler) Handle

func (h *P2AccessRecordCreatedV1Handler) Handle(ctx context.Context, event interface{}) error

回调开发者注册的handle

type P2UserUpdatedV1

type P2UserUpdatedV1 struct {
	*larkevent.EventV2Base                      // 事件基础数据
	*larkevent.EventReq                         // 请求原生数据
	Event                  *P2UserUpdatedV1Data `json:"event"` // 事件内容
}

func (*P2UserUpdatedV1) RawReq

func (m *P2UserUpdatedV1) RawReq(req *larkevent.EventReq)

type P2UserUpdatedV1Data

type P2UserUpdatedV1Data struct {
	UserId       *UserId `json:"user_id,omitempty"`       // 用户 ID
	Card         *int    `json:"card,omitempty"`          // 卡号
	FaceUploaded *bool   `json:"face_uploaded,omitempty"` // 是否上传人脸图片
}

type P2UserUpdatedV1Handler

type P2UserUpdatedV1Handler struct {
	// contains filtered or unexported fields
}

消息处理器定义

func NewP2UserUpdatedV1Handler

func NewP2UserUpdatedV1Handler(handler func(context.Context, *P2UserUpdatedV1) error) *P2UserUpdatedV1Handler

func (*P2UserUpdatedV1Handler) Event

func (h *P2UserUpdatedV1Handler) Event() interface{}

返回事件的消息体的实例,用于反序列化用

func (*P2UserUpdatedV1Handler) Handle

func (h *P2UserUpdatedV1Handler) Handle(ctx context.Context, event interface{}) error

回调开发者注册的handle

type PatchUserReq

type PatchUserReq struct {
	User *User `body:""`
	// contains filtered or unexported fields
}

type PatchUserReqBuilder

type PatchUserReqBuilder struct {
	// contains filtered or unexported fields
}

func NewPatchUserReqBuilder

func NewPatchUserReqBuilder() *PatchUserReqBuilder

func (*PatchUserReqBuilder) Build

func (builder *PatchUserReqBuilder) Build() *PatchUserReq

func (*PatchUserReqBuilder) User

func (builder *PatchUserReqBuilder) User(user *User) *PatchUserReqBuilder

飞书智能门禁在人脸识别成功后会有韦根信号输出,输出用户的卡号。;对于使用韦根协议的门禁系统,企业可使用该接口录入用户卡号。

func (*PatchUserReqBuilder) UserId

func (builder *PatchUserReqBuilder) UserId(userId string) *PatchUserReqBuilder

用户 ID

示例值:ou_7dab8a3d3cdcc9da365777c7ad535d62

func (*PatchUserReqBuilder) UserIdType

func (builder *PatchUserReqBuilder) UserIdType(userIdType string) *PatchUserReqBuilder

此次调用中使用的用户ID的类型

示例值:

type PatchUserResp

type PatchUserResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
}

func (*PatchUserResp) Success

func (resp *PatchUserResp) Success() bool

type UpdateUserFaceReq

type UpdateUserFaceReq struct {
	File *File `body:""`
	// contains filtered or unexported fields
}

type UpdateUserFaceReqBuilder

type UpdateUserFaceReqBuilder struct {
	// contains filtered or unexported fields
}

func NewUpdateUserFaceReqBuilder

func NewUpdateUserFaceReqBuilder() *UpdateUserFaceReqBuilder

func (*UpdateUserFaceReqBuilder) Build

func (builder *UpdateUserFaceReqBuilder) Build() *UpdateUserFaceReq

func (*UpdateUserFaceReqBuilder) File

用户需要录入人脸图片才可以使用门禁考勤机。使用该 API 上传门禁用户的人脸图片。

func (*UpdateUserFaceReqBuilder) UserId

func (builder *UpdateUserFaceReqBuilder) UserId(userId string) *UpdateUserFaceReqBuilder

用户 ID

示例值:ou_7dab8a3d3cdcc9da365777c7ad535d62

func (*UpdateUserFaceReqBuilder) UserIdType

func (builder *UpdateUserFaceReqBuilder) UserIdType(userIdType string) *UpdateUserFaceReqBuilder

此次调用中使用的用户ID的类型

示例值:

type UpdateUserFaceResp

type UpdateUserFaceResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
}

func (*UpdateUserFaceResp) Success

func (resp *UpdateUserFaceResp) Success() bool

type User

type User struct {
	Feature *Feature `json:"feature,omitempty"` // 用户特征
	UserId  *string  `json:"user_id,omitempty"` // 用户 ID
}

type UserBuilder

type UserBuilder struct {
	// contains filtered or unexported fields
}

func NewUserBuilder

func NewUserBuilder() *UserBuilder

func (*UserBuilder) Build

func (builder *UserBuilder) Build() *User

func (*UserBuilder) Feature

func (builder *UserBuilder) Feature(feature *Feature) *UserBuilder

用户特征

示例值:

func (*UserBuilder) UserId

func (builder *UserBuilder) UserId(userId string) *UserBuilder

用户 ID

示例值:ou_7dab8a3d3cdcc9da365777c7ad535d62

type UserId

type UserId struct {
	UserId  *string `json:"user_id,omitempty"`  //
	OpenId  *string `json:"open_id,omitempty"`  //
	UnionId *string `json:"union_id,omitempty"` //
}

type UserIdBuilder

type UserIdBuilder struct {
	// contains filtered or unexported fields
}

func NewUserIdBuilder

func NewUserIdBuilder() *UserIdBuilder

func (*UserIdBuilder) Build

func (builder *UserIdBuilder) Build() *UserId

func (*UserIdBuilder) OpenId

func (builder *UserIdBuilder) OpenId(openId string) *UserIdBuilder

示例值:

func (*UserIdBuilder) UnionId

func (builder *UserIdBuilder) UnionId(unionId string) *UserIdBuilder

示例值:

func (*UserIdBuilder) UserId

func (builder *UserIdBuilder) UserId(userId string) *UserIdBuilder

示例值:

Jump to

Keyboard shortcuts

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