Commit 2d1da19e by Li Feifei

print log

parent 4450b15f
Pipeline #14628 passed with stages
in 1 minute 2 seconds
...@@ -208,7 +208,7 @@ func Down(v *models.XyuSmallTempFiles) { ...@@ -208,7 +208,7 @@ func Down(v *models.XyuSmallTempFiles) {
room_file["path"] = objectName room_file["path"] = objectName
err = bucket.PutObject(objectName, fd) err = bucket.PutObject(objectName, fd)
if err != nil { if err != nil {
fmt.Println("1==",err) log.Println(err)
return return
} }
furl := "https://xiaoyu-live.oss-cn-beijing-internal.aliyuncs.com/" + objectName furl := "https://xiaoyu-live.oss-cn-beijing-internal.aliyuncs.com/" + objectName
...@@ -219,7 +219,7 @@ func Down(v *models.XyuSmallTempFiles) { ...@@ -219,7 +219,7 @@ func Down(v *models.XyuSmallTempFiles) {
return return
} }
if _, ok := maps["FileSize"]; !ok { if _, ok := maps["FileSize"]; !ok {
fmt.Println("3 === ", maps) log.Println(maps)
UpdateFileError("2", v.Uuid, v.RoomNum, objectName) UpdateFileError("2", v.Uuid, v.RoomNum, objectName)
return return
} }
......
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