|
@@ -326,21 +326,8 @@ func TurnChain(eg *xorm.Engine, officialEg, zhimengEg *xorm.Engine, args map[str |
|
|
newV = strings.ReplaceAll(newV, v1, "") |
|
|
newV = strings.ReplaceAll(newV, v1, "") |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
split := regexp.MustCompile("[a-zA-Z0-9]{9,14}").FindAllString(v, -1) |
|
|
|
|
|
//split_letter := regexp.MustCompile("[a-zA-Z]{8,15}").FindAllString(reqCount, -1) |
|
|
|
|
|
if split != nil && ((zhios_third_party_utils.IsChineseChar(v) && strings.Contains(v, "http")) || strings.Contains(v, "http") == false) { |
|
|
|
|
|
var is_tkl = 0 |
|
|
|
|
|
for k1, v1 := range split { |
|
|
|
|
|
if k1 == 0 { |
|
|
|
|
|
is_tkl = 1 |
|
|
|
|
|
tklWord = v1 |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
if is_tkl == 1 { |
|
|
|
|
|
PlatType = "tkl" |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
if goodsId == "" && (zhios_third_party_utils.IsAllChinese(newV) == false && (PlatType == "taobao" || PlatType == "") || PlatType == "tkl") { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if goodsId == "" && (zhios_third_party_utils.IsAllChinese(newV) == false && (PlatType == "taobao" || PlatType == "")) { |
|
|
|
|
|
|
|
|
pvd, goodsId, word, _ := svc.FindTaobaoWord(eg, officialEg, zhimengEg, args, v, user) |
|
|
pvd, goodsId, word, _ := svc.FindTaobaoWord(eg, officialEg, zhimengEg, args, v, user) |
|
|
if goodsId == "" && pvd == "" { |
|
|
if goodsId == "" && pvd == "" { |
|
|