Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
zgldh authored Feb 20, 2017
1 parent 0d5deea commit d92db4f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
$disk->makeDirectory($directory); //这个其实没有任何作用
$disk->deleteDirectory($directory); //删除目录,包括目录下所有子文件子目录

$disk->getDriver()->uploadToken(); //获取上传Token
$disk->getDriver()->uploadToken('file.jpg'); //获取上传Token
$disk->getDriver()->downloadUrl('file.jpg'); //获取下载地址
$disk->getDriver()->downloadUrl('file.jpg')
Expand Down Expand Up @@ -120,6 +121,7 @@
$disk->makeDirectory($directory); //这个其实没有任何作用
$disk->deleteDirectory($directory); //删除目录,包括目录下所有子文件子目录

$disk->uploadToken(); //获取上传Token
$disk->uploadToken('file.jpg'); //获取上传Token
$disk->downloadUrl('file.jpg'); //获取下载地址
$disk->downloadUrl('file.jpg')
Expand Down

0 comments on commit d92db4f

Please sign in to comment.