k.zhang 4 anos atrás
pai
commit
4936cd89e6
1 arquivos alterados com 2 adições e 1 exclusões
  1. 2 1
      apis/dyjx/url_jx.go

+ 2 - 1
apis/dyjx/url_jx.go

@@ -138,7 +138,8 @@ func DeWater(in models.DyJieXiInput) (error, models.DyJieXiOutput) {
 	var twoUrl mysql.DysyTwoUrl
 	twoUrl.CreateTime = tools.GetCurrntTimeStr()
 	twoUrl.UpdateTime = tools.GetCurrntTimeStr()
-	twoUrl.TwoURL = out.Data.VideoUrl[comma : pos+comma+4+1]
+	twoUrl.TwoURL = out.Data.VideoUrl[comma:pos+comma+4+1] + ";"
+	twoUrl.Number = 1
 	twoUrl.Create(twoUrl.TwoURL)
 
 	return nil, out