|
|
@@ -139,7 +139,7 @@ func (self *ProductController) GetPdDetail() {
|
|
|
pd.LeftCount = pd.Count - pd.SoldCount
|
|
|
}
|
|
|
pd.SoldCount = pd.SoldCount + pd.VirtualSoldCount
|
|
|
- pd.Cover = product_model.GetCoverByPId(pId, cache)
|
|
|
+ pd.Cover = product_model.GetCoverByPId(pd.Id, cache)
|
|
|
pd.Album = product_model.GetPicturesByPIdAndPType(pId, product_model.PIC_TYPE_ALBUM, cache)
|
|
|
pd.ShareImg = self.GetCdnFullImgUrl(pd.ShareImg)
|
|
|
if pd.SeckilShowPrice > 0 {
|