Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
yuanzhihai committed May 5, 2023
1 parent e7759e2 commit 59232cd
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,16 @@ $adapter = new Local(__DIR__);
$filesystem = new Filesystem($adapter);

Excel::export($array)->disk($filesystem)->store('users.xlsx');


// 使用yzh52521/think-filesystem

Excel::export($array)->disk('local')->store('users.xlsx');
$filesystem = \yzh52521\filesystem\facade\Filesystem::disk('local')->getDriver();
// 也可以
Excel::export('users.xlsx')->disk($filesystem)->store('users.xlsx');


```

获取文件内容
Expand Down

0 comments on commit 59232cd

Please sign in to comment.