item

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: 12 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 {
	ItemInfos *itm.BillReply

	Prices []Prices
	// contains filtered or unexported fields
}

Checker 检查商品信息

func New

func New(d *dao.Dao, ac *account.Checker) *Checker

New 新建一个检查类

func (*Checker) Check

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

Check 检查商品信息

type Prices

type Prices struct {
	Total  int64
	Pay    int64
	ExpFee int64
}

Prices 输出订单商品价格

Jump to

Keyboard shortcuts

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