cloud

package
v0.0.0-...-1b479c1 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2023 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BizCode

type BizCode int
const (
	BizCodeSuccess    BizCode = 0     //验证通过,即code=200且bizCode=0时为验证通过,其他见具体错误说明
	BizCodeMismatch   BizCode = 13053 //姓名证件号校验不匹配
	BizCodeInaccurate BizCode = 13057 //无法准确校验
	BizCodeMismatch1  BizCode = 13066 //验证不一致
	BizCodeUnknown    BizCode = 13067 //不匹配,但是具体不匹配要素未知
)

type Code

type Code int
const (
	CodeSuccess       Code = 200 //调用成功
	CodeError         Code = 400 //参数格式错误
	CodeNoPermission  Code = 403 //无权限调用
	CodeInvalidParams Code = 404 //非法参数
	CodeServerError   Code = 500 //内部服务错误
)

type Indetify2Resp

type Indetify2Resp struct {
	Code    Code   `json:"code"`
	Message string `json:"message"`
	Value   struct {
		BizCode BizCode `json:"bizCode"`
		Message string  `json:"message"`
	} `json:"value"`
}

func Identify2

func Identify2(idNum string, name string, appCode, userId, verifyKey string) (*Indetify2Resp, error)

Jump to

Keyboard shortcuts

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