代码如下
const putPolicy = new qiniu.rs.PutPolicy({
scope: `${bucketName}:${fileName}`,
expires: 60 * 60 * 1,
returnBody: '{"key":"$(key)","hash":"$(etag)","fsize":$(fsize),"bucket":"$(bucket)","name":"$(x:name)"}'
})
报错
Cannot read property 'PutPolicy' of undefined
相关分类