authcert

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetFaceAuthRequest

type GetFaceAuthRequest struct {
	AccessToken string // 授权小程序的接口调用凭据
}

GetFaceAuthRequest 请求结构体

type GetFaceAuthResponse

type GetFaceAuthResponse struct {
	Data      GetFaceAuthResponsedata `json:"data"`       // 响应参数
	Errno     int64                   `json:"errno"`      // 状态码
	ErrMsg    string                  `json:"msg"`        // 错误信息
	ErrorCode int64                   `json:"error_code"` // openapi 错误码
	ErrorMsg  string                  `json:"error_msg"`  // openapi 错误信息
}

type GetFaceAuthResponsedata

type GetFaceAuthResponsedata struct {
	LegalFaceStatus string `json:"legal_face_status"` // 认证任务状态(1:初始化;2:通过;4:拒绝;6:进行中)
	Qrcode          string `json:"qrcode"`            // 二维码(base64编码图片)
	Timeout         string `json:"timeout"`           // 过期时间
}

func GetFaceAuth

func GetFaceAuth(params *GetFaceAuthRequest) (*GetFaceAuthResponsedata, error)

GetFaceAuth

type GetPaymentCertRequest

type GetPaymentCertRequest struct {
	AccessToken string // 授权小程序的接口调用凭据
}

GetPaymentCertRequest 请求结构体

type GetPaymentCertResponse

type GetPaymentCertResponse struct {
	Data      GetPaymentCertResponsedata `json:"data"`       // 响应参数
	Errno     int64                      `json:"errno"`      // 状态码
	ErrMsg    string                     `json:"msg"`        // 错误信息
	ErrorCode int64                      `json:"error_code"` // openapi 错误码
	ErrorMsg  string                     `json:"error_msg"`  // openapi 错误信息
}

type GetPaymentCertResponsedata

type GetPaymentCertResponsedata struct {
	URL string `json:"url"` // 认证页面调起 url
}

func GetPaymentCert

func GetPaymentCert(params *GetPaymentCertRequest) (*GetPaymentCertResponsedata, error)

GetPaymentCert

Jump to

Keyboard shortcuts

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