This commit is contained in:
cdle
2021-09-27 10:07:36 +08:00
parent 39962cdc3d
commit ee44d6ecfa
+1 -1
View File
@@ -43,7 +43,7 @@ func getDwz(url string) string {
Url: url,
}
dwz.Create(su)
return dwz.Get("address", regexp.MustCompile(`https?://[\.\w]+:?\d*`).FindString(dwz.Get("address"))+"/"+dwz.Get("prefix", "d")+encode(int64(su.ID)))
return regexp.MustCompile(`https?://[\.\w]+:?\d*`).FindString(dwz.Get("address")) + "/" + dwz.Get("prefix", "d") + encode(int64(su.ID))
}
func getWz(id string) string {