params

package
v0.0.0-...-2cd4ea5 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CouponInfo

type CouponInfo struct {
	Code  string
	Money float64
}

type CouponParams

type CouponParams struct {
	Coupon   *CouponInfo
	Order    *OrderInfo
	Products []*ProductInfo
}

func NewParseCouponParams

func NewParseCouponParams(couponInfoStr string, orderInfoStr string, products []interface{}) *CouponParams

type OrderInfo

type OrderInfo struct {
	Bid    string
	Money  float64
	UserId int64 `json:"user_id"`
}

type ProductInfo

type ProductInfo struct {
	Id int
}

Jump to

Keyboard shortcuts

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