- GetOrderEvents
- idcard and licence for store
This commit is contained in:
@@ -18,7 +18,13 @@ const (
|
||||
)
|
||||
|
||||
var (
|
||||
PromotionStatusName map[int]string
|
||||
PromotionStatusName = map[int]string{
|
||||
PromotionStatusLocalCreated: "未确认",
|
||||
PromotionStatusRemoteFailed: "失败",
|
||||
PromotionStatusRemoteCreated: "正常",
|
||||
PromotionStatusCanceled: "取消",
|
||||
PromotionStatusEnded: "结束",
|
||||
}
|
||||
)
|
||||
|
||||
type Promotion struct {
|
||||
@@ -41,16 +47,6 @@ type Promotion struct {
|
||||
Remark string `orm:"type(text)" json:"-"`
|
||||
}
|
||||
|
||||
func init() {
|
||||
PromotionStatusName = map[int]string{
|
||||
PromotionStatusLocalCreated: "创建中",
|
||||
PromotionStatusRemoteFailed: "失败",
|
||||
PromotionStatusRemoteCreated: "正常",
|
||||
PromotionStatusCanceled: "取消",
|
||||
PromotionStatusEnded: "结束",
|
||||
}
|
||||
}
|
||||
|
||||
func (*Promotion) TableUnique() [][]string {
|
||||
return [][]string{
|
||||
[]string{"Name", "VendorID", "Type", "DeletedAt"},
|
||||
|
||||
Reference in New Issue
Block a user