作者 yangfu

修改 1.vod视频权限获取修改

... ... @@ -10,7 +10,7 @@ type CreateUploadImageResponse struct {
ImageURL string `json:"imageURL"`
UploadAddress string `json:"uploadAddress"`
UploadAuth string `json:"uploadAuth"`
FileURL string `json:"-"` //fileURL
FileURL string `json:"fileURL"` //fileURL
}
type CreateUploadImagesRequest struct {
... ...
... ... @@ -180,6 +180,7 @@ func CreateUploadImage(header *protocol.RequestHeader, request *aliyun.CreateUpl
request.FileName = aliyun.DefaultImageFileName
}
rsp, err = aliyun.CreateUploadImage(client, request)
rsp.FileURL = rsp.ImageURL
if err != nil {
log.Error(err)
}
... ...