|
|
@@ -246,11 +246,10 @@ func (self *ProductController) GetProductsByCat() {
|
|
|
pd.SeckillState = product_model.SECKILL_END_STATE
|
|
|
pd.SeckillStateCn = product_model.SECKILL_END_STATE_CN
|
|
|
}
|
|
|
- if pd.Package {
|
|
|
- pd.PackageList = product_model.GetPackageList(pd.Id, true)
|
|
|
- }
|
|
|
}
|
|
|
-
|
|
|
+ if pd.Package {
|
|
|
+ pd.PackageList = product_model.GetPackageList(pd.Id, true)
|
|
|
+ }
|
|
|
pd.DeliverStartTime = pd.DeliverStartAt.Unix()
|
|
|
pd.DeliverStopTime = pd.DeliverStopAt.Unix()
|
|
|
}
|