1
This commit is contained in:
@@ -513,7 +513,6 @@ func GetProductFormatNew(categoryLeftId int64, vendorOrgCode string) (*product_g
|
||||
// GetTiktokImgList 获取抖音图片链接
|
||||
func GetTiktokImgList(api *tiktokShop.API, storeId, appOrgCode string, detailImg string, img ...string) (string, string, error) {
|
||||
imgs := make([]tiktokShop.Imgs, 0, 0)
|
||||
var tiktokImg []string
|
||||
for _, v := range img {
|
||||
if v != "" {
|
||||
imgs = append(imgs, tiktokShop.Imgs{
|
||||
@@ -534,9 +533,8 @@ func GetTiktokImgList(api *tiktokShop.API, storeId, appOrgCode string, detailImg
|
||||
}
|
||||
|
||||
detailTiktok := ""
|
||||
var tiktokImg []string
|
||||
for _, v := range tiktokImgList {
|
||||
globals.SugarLogger.Debugf("===============%s", v.Name)
|
||||
globals.SugarLogger.Debugf("===============%s", v.ByteUrl)
|
||||
if strings.HasPrefix(v.Name, "detail_") {
|
||||
detailTiktok = v.ByteUrl
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user