OrderTake

package
v5.2.31 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckTakeCode

func CheckTakeCode(orderID int64, takeCode string) (b bool)

CheckTakeCode 验证自提代码

func GetTakeCode

func GetTakeCode(orderID int64) (takeCode string)

GetTakeCode 获取订单的自提代码

func IsOpenTakeCode

func IsOpenTakeCode(orgID int64) (b bool)

IsOpenTakeCode 检查是否打开了自提验证功能

Types

type FieldsTake

type FieldsTake struct {
	//ID
	ID int64 `db:"id" json:"id"`
	//创建时间
	CreateAt time.Time `db:"create_at" json:"createAt"`
	//订单ID
	OrderID int64 `db:"order_id" json:"orderID"`
	//自提代码
	TakeCode string `db:"take_code" json:"takeCode"`
}

func GetTakeData

func GetTakeData(orderID int64) (data FieldsTake)

GetTakeData 获取订单数据

Jump to

Keyboard shortcuts

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