0

如题,在上传资源时如何设定资源的生命周期?

uploadImg() {
        var config = {
            useCdnDomain: true,
            region: Qiniu.region.z2
        };
        var putExtra = {
            fname: "test",
            params: {},
            mimeType: [] || null
        };
        var observable = Qiniu.upload(this.state.imgBlob, this.state.qnKey, this.state.qnToken, putExtra, config)
       
    }
2018-08-22 提问

1 个回答

0

在putpolicy中指定
即在token中指定 deleteafterdays

你可能感兴趣的

推广链接