callmez / yii2-file-system

已停止更新,更强大的请访问
https://github.com/weyii/yii2-filesystem
MIT License
25 stars 33 forks source link

wrapper不可用的吧? #6

Closed cfanbo closed 2 years ago

cfanbo commented 9 years ago

// wrapper 方式 (推荐) //等同于Yii::$app->fileSystem->get('local')->write('test.txt', 'hello world'); Yii::$app->fileSystem->write('local://test.txt', 'hello world'); //等同于Yii::$app->fileSystem->get('qiniu')->write('test.txt', 'hello world'); Yii::$app->fileSystem->write('qiniu://test.txt', 'hello world');

上传到七牛成这个样子了 $qiniu->write('qiniu://aa.txt' , 'hello world wrapper');

结果: qiniu:/aa.txt

cfanbo commented 9 years ago

难道用法错了?

callmez commented 9 years ago

结果什么?

pgyf commented 9 years ago

支持阿里云的oss吗

callmez commented 9 years ago

@liyunfang 不支持..但是有计划支持