买一赠一礼包优化
This commit is contained in:
parent
7df724a8d6
commit
95c4c4ee2e
@ -16,9 +16,7 @@ func (a *Activity) Fire(Id int, atype int) ([]*item.Item, error) {
|
|||||||
// Var.Buy = true
|
// Var.Buy = true
|
||||||
// Var.Time = GoUtil.Now()
|
// Var.Time = GoUtil.Now()
|
||||||
if atype == ACT_TYPE_ADD_GIFT {
|
if atype == ACT_TYPE_ADD_GIFT {
|
||||||
//todo 测试
|
a.AddEnd = GoUtil.Now() + 7*86400
|
||||||
a.AddEnd = GoUtil.Now() + 7
|
|
||||||
//a.AddEnd = GoUtil.Now() + 7*86400
|
|
||||||
}
|
}
|
||||||
return activityCfg.GetActivityGiftItems(Id), nil
|
return activityCfg.GetActivityGiftItems(Id), nil
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user