user

package
v0.0.0-...-983cbdb Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CodeCorrect

func CodeCorrect(phone, code string) (string, bool)

func EmailCorrect

func EmailCorrect(email string) (string, bool)

func PhoneConfirm

func PhoneConfirm(phone string) (string, bool)

func PhoneCorrect

func PhoneCorrect(phone string) (string, bool)

Types

type User

type User struct {
	Id             int
	CubeId         string `orm:"index;pk"`
	Name           string
	Email          string
	Password       string
	Phone          string
	Image          string
	Introduce      string
	Blog           int
	Talk           int
	Collect        int
	Cared          int
	Care           int
	LeavingMessage int
	Message        int
}

func (*User) VerificationCode

func (u *User) VerificationCode(phone string)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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