aa
This commit is contained in:
@@ -2054,6 +2054,7 @@ func RrefreshEbaiVendorAct() (err error) {
|
||||
DayLimit: result.Limitruleapi.Userdaycountlimit,
|
||||
Period: result.Periodsandruleapilist[0].Periods[0].Opentime + "-" + result.Periodsandruleapilist[0].Periods[0].Closetime,
|
||||
WeeksTime: result.Periodsandruleapilist[0].Periods[0].Weekday,
|
||||
ActName: result.Activityname,
|
||||
}
|
||||
dao.CreateEntity(db, actVendor)
|
||||
for _, sku := range result.Skulist {
|
||||
|
||||
@@ -294,6 +294,7 @@ type ActEbaiVendor struct {
|
||||
ActType int `json:"actType"` //活动类型 (折扣,秒杀)
|
||||
Status int `json:"status"` //活动当前的状态,参考值:0-已过期;1-已生效;2-待生效
|
||||
ActID string `orm:"column(act_id)" json:"actID"`
|
||||
ActName string `json:"actName"`
|
||||
OrderLimit int `json:"orderLimit"` //每单限购
|
||||
DayLimit int `json:"dayLimit"` //每人每天限购
|
||||
Period string `json:"period"` //生效时段
|
||||
|
||||
Reference in New Issue
Block a user