k.zhang 4 лет назад
Родитель
Сommit
32425c0ffb
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      apis/dyjx/url_jx.go

+ 1 - 1
apis/dyjx/url_jx.go

@@ -134,7 +134,7 @@ func DeWater(in models.DyJieXiInput) (error, models.DyJieXiOutput) {
 	//截取
 	comma = strings.Index(out.Data.VideoUrl, "https://")
 	pos = strings.Index(out.Data.VideoUrl[comma+1:], ".com")
-	fmt.Println(out.Data.VideoUrl[comma : pos+comma+4])
+	fmt.Println(out.Data.VideoUrl[comma : pos+comma+4+1])
 
 	return nil, out