Commit 494fcea8 by mushishixian

继续优化图片输出

parent 4699463d
Showing with 2 additions and 0 deletions
......@@ -32,6 +32,8 @@ func (ls *LyService) GetGoodsImages(sku model.LySku, spu string) model.LySku {
if strings.Contains(sku.GoodsImages, "rocelec") {
sku.GoodsImages = ""
}
sku.GoodsImages = strings.Replace(sku.GoodsImages, "http://img.ichunt.com", "https://img.ichunt.com", 1)
sku.ImagesL = strings.Replace(sku.ImagesL, "http://img.ichunt.com", "https://img.ichunt.com", 1)
return sku
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment