account

package
v0.0.0-...-83adff0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2020 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Checker

type Checker struct {
	Users *acc.CardsReply
	// contains filtered or unexported fields
}

Checker 检查用户信息

func New

func New(d *dao.Dao) *Checker

New 新建一个用户检查类

func (*Checker) Check

func (ac *Checker) Check(ctx context.Context, req *rpc.CreateOrdersRequest) (ee []ecode.Codes, err error)

Check 检查用户条件

func (*Checker) GetUser

func (ac *Checker) GetUser(mid int64) *mAcc.Card

GetUser 获取用户信息

Jump to

Keyboard shortcuts

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