huangjiajun vor 4 Monaten
Ursprung
Commit
e44673fc05
1 geänderte Dateien mit 2 neuen und 15 gelöschten Zeilen
  1. +2
    -15
      chain_transfer/turn_chain.go

+ 2
- 15
chain_transfer/turn_chain.go Datei anzeigen

@@ -326,21 +326,8 @@ func TurnChain(eg *xorm.Engine, officialEg, zhimengEg *xorm.Engine, args map[str
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)
if goodsId == "" && pvd == "" {


Laden…
Abbrechen
Speichern