profile

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Route

func Route(root iris.Party)

Types

type CreateProfileReq added in v1.0.2

type CreateProfileReq struct {
	Code string `json:"code,omitempty"` // user code
}

type CreateProfileResp

type CreateProfileResp struct {
	app.Response
	Id string `json:"id,omitempty"`
}

type GetProfileResp added in v1.0.2

type GetProfileResp struct {
	app.Response
	UserCode              string `json:"userCode,omitempty"`
	RealName              string `json:"realName,omitempty"`
	IdCard                string `json:"idCard,omitempty"`
	IdCardVerified        bool   `json:"idCardVerified,omitempty"`
	PhoneNumber           string `json:"PhoneNumber,omitempty"`
	PhoneNumberVerified   bool   `json:"phoneNumberVerified,omitempty"`
	WechatUnionId         string `json:"wechatUnionId,omitempty"`
	WechatUnionIdVerified bool   `json:"wechatUnionIdVerified,omitempty"`
	CreateTime            int64  `json:"createTime,omitempty"`
}

Jump to

Keyboard shortcuts

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