Order 枚举
This commit is contained in:
9
constants/delivery.go
Normal file
9
constants/delivery.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package constants
|
||||
|
||||
type DeliveryMethod int
|
||||
|
||||
const (
|
||||
// 配送方式
|
||||
DELIVERY_METHOD_ADDRESS DeliveryMethod = 1 // 直接发货到收获地址
|
||||
DELIVERY_METHOD_CLOUD DeliveryMethod = 2 // 云仓
|
||||
)
|
||||
@@ -68,13 +68,9 @@ package constants
|
||||
// // 云仓完成
|
||||
// const STATUS_FONT_COMPLETED_CLOUD = 8
|
||||
|
||||
type Order int
|
||||
type DELIVERY_METHOD int
|
||||
|
||||
const (
|
||||
// 配送方式
|
||||
DELIVERY_METHOD_ADDRESS Order = 1 // 直接发货到收获地址
|
||||
DELIVERY_METHOD_CLOUD Order = 2 // 云仓
|
||||
)
|
||||
type Order int
|
||||
|
||||
// 订单状态
|
||||
const (
|
||||
@@ -87,7 +83,7 @@ const (
|
||||
// 订单已确认
|
||||
STATUS_NEW_SURE Order = 3
|
||||
// 订单生产中
|
||||
STATUS_NEW_PRODUCING Order = 4
|
||||
STATUS_NEW_PRODUTING Order = 4
|
||||
// 订单生产完成
|
||||
STATUS_NEW_PRODUT_COMPLETED Order = 5
|
||||
// 订单已到库
|
||||
|
||||
Reference in New Issue
Block a user