云处理结果的外链资源名Key, 有key了,怎么访问生成的资源

新手上路,请多包涵

{

"id": "16864pauo1vc9nhp12",
"code": 0,
"desc": "The fop was completed successfully",
"inputKey": "sample.mp4",
"inputBucket": "dutest",
"items": [
    {
        "cmd": "avthumb/mp4/r/30/vb/256k/vcodec/libx264/ar/22061/ab/64k/acodec/libmp3lame",
        "code": 0,
        "desc": "The fop was completed successfully",
        "error": "",
        "hash": "FrPNF2qz66Bt14JMdgU8Ya7axZx-",
        "key": "v-PtT-DzpyCcqv6xNU25neTMkcc=/FjgJQXuH7OresQL4zgRqYG5bZ64x",
        "returnOld": 0
    },
    {
        "cmd": "avthumb/iphone_low",
        "code": 0,
        "desc": "The fop was completed successfully",
        "error": "",
        "hash": "FmZ5PbHMYD5uuP1-kHaLjKbrv-75",
        "key": "tZ-w8jHlQ0__PYJdiisskrK5h3k=/FjgJQXuH7OresQL4zgRqYG5bZ64x",
        "returnOld": 0
    },
    {
        "cmd": "avthumb/m3u8/noDomain/1/r/30/vb/256k/vcodec/libx264/ar/22071/ab/64k/acodec/libmp3lame",
        "code": 0,
        "desc": "The fop was completed successfully",
        "error": "",
        "hash": "Fi4gMX0SvKVvptxfvoiuDfFkCuEG",
        "key": "8ehryqviSaMIjkVQDGeDcKRZ6qc=/FjgJQXuH7OresQL4zgRqYG5bZ64x",
        "returnOld": 0
    },
    {
        "cmd": "avthumb/m3u8/noDomain/1/vb/440k",
        "code": 0,
        "desc": "The fop was completed successfully",
        "error": "",
        "hash": "FtuxnwAY9NVBxAZLcxNUuToR9y97",
        "key": "s2_PQlcIOz1uP6VVBXk5O9dXYLY=/FjgJQXuH7OresQL4zgRqYG5bZ64x",
        "returnOld": 0
    }
],
pipeline: "0.default",
reqid: "ffmpeg.3hMAAH3p5Gupb6oT"

}

阅读 2.6k
1 个回答

七牛的外链都是通过 域名拼接文件名得到的,可以利用绑定在空间中的域名+处理后的key值进行拼接。

logo
七牛云问答
子站问答
访问
宣传栏