+SyncSpecialAct

Act添加字段IsSpecail
This commit is contained in:
gazebo
2020-01-20 16:22:31 +08:00
parent f729f887fb
commit ac0e99b38d
5 changed files with 133 additions and 12 deletions

View File

@@ -66,6 +66,7 @@ type Act struct {
LimitCount int `json:"limitCount"` // 每单限购数量
Source string `orm:"size(255)" json:"source"`
CreateType int `json:"createType"`
IsSpecial int8 `json:"isSpecial"` // 是否是特殊绑定活动
OverlapRule int `json:"overlapRule"`
PricePercentage int `json:"pricePercentage"` // 单品级活动才有效
BeginAt time.Time `orm:"type(datetime);index" json:"beginAt"`
@@ -225,6 +226,7 @@ type StoreSkuAct struct {
SyncStatus int8 `orm:"default(2)" json:"syncStatus"`
// ActID int `orm:"column(act_id);index" json:"actID"`
VendorActID string `orm:"column(vendor_act_id);size(48);index" json:"vendorActID"`
HintActID int `orm:"column(hint_act_id);size(48);index" json:"hintActID"`
VendorActPrice int64 `json:"vendorActPrice"` // 保存数据用,实际的活动价
Remark string `orm:"column(remark);size(1024)" json:"remark"`