|
@@ -64,7 +64,7 @@ func TurnChain(eg *xorm.Engine, officialEg *xorm.Engine, args map[string]string) |
|
|
reg1 := regexp.MustCompile(`¥.*?¥`) |
|
|
reg1 := regexp.MustCompile(`¥.*?¥`) |
|
|
matched := reg1.FindAllStringSubmatch(reqCount, -1) |
|
|
matched := reg1.FindAllStringSubmatch(reqCount, -1) |
|
|
isTikTok := "0" |
|
|
isTikTok := "0" |
|
|
if strings.Contains(reqCount, "dou音") || strings.Contains(reqCount, "buydouke") || (strings.Contains(reqCount, "抖音") || strings.Contains(reqCount, "douyin")) && strings.Contains(reqCount, "【") { |
|
|
|
|
|
|
|
|
if strings.Contains(reqCount, "dou音") || strings.Contains(reqCount, "đΌȖƳίɳ") || strings.Contains(reqCount, "douyin") || strings.Contains(reqCount, "buydouke") || (strings.Contains(reqCount, "抖音") || strings.Contains(reqCount, "douyin")) && strings.Contains(reqCount, "【") { |
|
|
isTikTok = "1" |
|
|
isTikTok = "1" |
|
|
} |
|
|
} |
|
|
split := strings.Split(reqCount, "\n") |
|
|
split := strings.Split(reqCount, "\n") |
|
@@ -92,7 +92,7 @@ func TurnChain(eg *xorm.Engine, officialEg *xorm.Engine, args map[string]string) |
|
|
PlatType = "has" |
|
|
PlatType = "has" |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
if strings.Contains(v, "jd.") { |
|
|
|
|
|
|
|
|
if strings.Contains(v, "jd.") || strings.Contains(v, "3.cn") { |
|
|
PlatType = "has" |
|
|
PlatType = "has" |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
@@ -148,7 +148,7 @@ func TurnChain(eg *xorm.Engine, officialEg *xorm.Engine, args map[string]string) |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
if strings.Contains(v, "jd.") { |
|
|
|
|
|
|
|
|
if strings.Contains(v, "jd.") || strings.Contains(v, "3.cn") { |
|
|
//只有链接带有.html才会剥离出商品id |
|
|
//只有链接带有.html才会剥离出商品id |
|
|
if strings.Contains(v, ".html") { |
|
|
if strings.Contains(v, ".html") { |
|
|
var index int |
|
|
var index int |
|
|