ali_oss_test.go 305 字节
package oss

import "testing"

func TestGetVideoCover(t *testing.T) {

	cover, w, h, err := GetVideoCover("https://timeless-world.oss-cn-shenzhen.aliyuncs.com/open-api/dev_online/20230913/object/1694587897_yYfG6TYTsGMCKETxdnTEhAQjXpYGD3MB.mp4")
	t.Logf("cover=%v, w=%v, h=%v, err=%v", cover, w, h, err)
}