...
|
...
|
@@ -64,7 +64,7 @@ func CreateUploadVideo(client *vod.Client, r *CreateUploadVideoRequest) (respons |
|
|
if up, e := ParseUploadAddress(rsp.UploadAddress); e != nil {
|
|
|
log.Error(e)
|
|
|
} else {
|
|
|
response.FileURL = up.GetFileUrl("")
|
|
|
response.FileURL = up.GetFileUrl(beego.AppConfig.String("cname"))
|
|
|
}
|
|
|
return
|
|
|
}
|
...
|
...
|
@@ -85,7 +85,7 @@ func RefreshUploadVideo(client *vod.Client, r *RefreshUploadVideoRequest) (respo |
|
|
if up, e := ParseUploadAddress(rsp.UploadAddress); e != nil {
|
|
|
log.Error(e)
|
|
|
} else {
|
|
|
response.FileURL = up.GetFileUrl("")
|
|
|
response.FileURL = up.GetFileUrl(beego.AppConfig.String("cname"))
|
|
|
}
|
|
|
return
|
|
|
}
|
...
|
...
|
|