- 取消活动同步后,不会删除act_map

- 添加Act.VendorMask用于方便平台查询
- QueryActs添加vendorID参数
This commit is contained in:
gazebo
2019-07-09 14:21:26 +08:00
parent 5b9c46067f
commit 4229146f1c
9 changed files with 71 additions and 71 deletions

View File

@@ -58,8 +58,8 @@ type Act struct {
PricePercentage int `json:"pricePercentage"` // 单品级活动才有效
BeginAt time.Time `orm:"type(datetime);index" json:"beginAt"`
EndAt time.Time `orm:"type(datetime);index" json:"endAt"`
Remark string `orm:"size(255)" json:"remark"`
VendorMask int `json:"-"`
Remark string `orm:"size(255)" json:"remark"`
}
func (*Act) TableUnique() [][]string {