Commit c0bec59b by Li Feifei

Update upload.go

parent 9f289895
Pipeline #9639 passed with stages
in 25 seconds
......@@ -198,10 +198,10 @@ func Down(v *models.XyuSmallTempFiles) {
}
room_file["files_size"] = strconv.Itoa(int(maps["FileSize"].(float64)))
room_file["link"] = v.Url
link := strings.Replace(v.Url, "xiaoyu-live.oss-cn-beijing.aliyuncs.com", "desktop.offcncloud.com", -1)
room_file["link"] = link
wordFloat64 := getWords(maps)
downUrl := fmt.Sprintf("http://doc.offcncloud.com/?info=1&words=%v&ssl=1&furl=%s",
wordFloat64, furl)
go func() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment