|
|
@@ -25,6 +25,7 @@ func QueryWithOauth(serviceParam map[string]string, param string) []wph.WphGoods |
|
|
|
GoodsDesc: v.GoodsDesc, |
|
|
|
GoodsImg: v.GoodsMainPicture, |
|
|
|
ImgList: v.GoodsCarouselPictures, |
|
|
|
DetailImgList: v.GoodsDetailPictures, |
|
|
|
SourceType: zhios_third_party_utils.IntToStr(v.SourceType), |
|
|
|
GoodsPrice: v.VipPrice, |
|
|
|
GoodsCostPrice: v.MarketPrice, |
|
|
@@ -55,12 +56,14 @@ func GoodsListWithOauth(serviceParam map[string]string, param string) []wph.WphG |
|
|
|
gid = v.GoodsId + "adCode" + v.AdCode |
|
|
|
} |
|
|
|
tmp := wph.WphGoods{ |
|
|
|
Gid: gid, |
|
|
|
AdCode: v.AdCode, |
|
|
|
GoodsTitle: v.GoodsName, |
|
|
|
GoodsDesc: v.GoodsDesc, |
|
|
|
GoodsImg: v.GoodsMainPicture, |
|
|
|
ImgList: v.GoodsCarouselPictures, |
|
|
|
Gid: gid, |
|
|
|
AdCode: v.AdCode, |
|
|
|
GoodsTitle: v.GoodsName, |
|
|
|
GoodsDesc: v.GoodsDesc, |
|
|
|
GoodsImg: v.GoodsMainPicture, |
|
|
|
ImgList: v.GoodsCarouselPictures, |
|
|
|
DetailImgList: v.GoodsDetailPictures, |
|
|
|
|
|
|
|
SourceType: zhios_third_party_utils.IntToStr(v.SourceType), |
|
|
|
GoodsPrice: v.VipPrice, |
|
|
|
GoodsCostPrice: v.MarketPrice, |
|
|
@@ -90,12 +93,14 @@ func GetByGoodsIdsWithOauth(serviceParam map[string]string, param string) []wph. |
|
|
|
gid = v.GoodsId + "adCode" + v.AdCode |
|
|
|
} |
|
|
|
tmp := wph.WphGoods{ |
|
|
|
Gid: gid, |
|
|
|
AdCode: v.AdCode, |
|
|
|
GoodsTitle: v.GoodsName, |
|
|
|
GoodsDesc: v.GoodsDesc, |
|
|
|
GoodsImg: v.GoodsMainPicture, |
|
|
|
ImgList: v.GoodsCarouselPictures, |
|
|
|
Gid: gid, |
|
|
|
AdCode: v.AdCode, |
|
|
|
GoodsTitle: v.GoodsName, |
|
|
|
GoodsDesc: v.GoodsDesc, |
|
|
|
GoodsImg: v.GoodsMainPicture, |
|
|
|
ImgList: v.GoodsCarouselPictures, |
|
|
|
DetailImgList: v.GoodsDetailPictures, |
|
|
|
|
|
|
|
SourceType: zhios_third_party_utils.IntToStr(v.SourceType), |
|
|
|
GoodsPrice: v.VipPrice, |
|
|
|
GoodsCostPrice: v.MarketPrice, |
|
|
|