Class 'think\facade\Filesystem' not found

浏览:2358 发布日期:2020/06/12 分类:ThinkPHP6专区 关键字: Class 'think\facade\Filesystem' not found
上传文件时,显示Class 'think\facade\Filesystem' not found

代码如下

public function checkLogin()
{

$data = Request::param();
$image = Request::file();
// $savename = \think\facade\Filesystem::putFile( 'topic', $file);
$savename = \think\facade\Filesystem::disk('public')->putFile( 'topic', $image);
$bisData = [
'username' => $data['username'],
'password' => $data['password'],
'image' => $image['image'],
];

附件 8c72043902d5213b7c64ec12ed898cd.png ( 15.23 KB 下载:22 次 )

最佳答案
评论( 相关
后面还有条评论,点击查看>>