enum

package
v0.0.0-...-0eb9a37 Latest Latest
Warning

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

Go to latest
Published: May 19, 2015 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// 已作废
	ORDER_CANCEL = 0
	// 订单已创建
	ORDER_CREATED = 1
	// 订单已确认
	ORDER_CONFIRMED = 2
	// 订单处理中
	ORDER_PROCESSING = 3
	// 订单发货中
	ORDER_SENDING = 4
	// 已收货
	ORDER_RECEIVED = 5
	// 订单完成
	ORDER_COMPLETED = 6

	// 可进行流程的状态
	ORDER_SETUP_STATE = "1,2,3,4,5"
)
View Source
const (
	//线下付款
	PAY_OFFLINE = 1

	//线上付款
	PAY_ONLINE = 2
)
View Source
const (
	/****** 站点状态 *********/
	//合作商网站关闭
	PARTNER_SITE_CLOSED = 0
	//合作商网站正常
	PARTNER_SITE_NORMAL = 1

	/****** 积分返回类型 *********/
	INTEGRAL_TYPE_SYSTEMSEND = 1
	INTEGRAL_TYPE_LOGINSEND  = 2
	INTEGRAL_TYPE_ORDER      = 3
	INTEGRAL_TYPE_BACK       = 4
	INTEGRAL_TYPE_EXCHANGE   = 12
)

Variables

View Source
var (
	FRONT_SHOP_STATE_TEXTS = [3]string{"停用", "营业中", "暂停营业"}
)

Functions

func GetFrontShopStateName

func GetFrontShopStateName(state int) string

func GetPaymentName

func GetPaymentName(i int) string

Types

type OrderLogType

type OrderLogType int
const (
	ORDER_LOG_SETUP        OrderLogType = 1
	ORDER_LOG_CHANGE_PRICE OrderLogType = 2
)

func (OrderLogType) String

func (this OrderLogType) String() string

type OrderState

type OrderState int

func (OrderState) String

func (t OrderState) String() string

Jump to

Keyboard shortcuts

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