This commit is contained in:
2021-04-19 14:25:58 +08:00
parent ab76dc0889
commit 51af761439
5 changed files with 86 additions and 77 deletions
+5
View File
@@ -64,10 +64,15 @@ class File
/**
* @return string
* @throws Exception
*/
public function getContent(): string
{
// $open = fopen($this->getTmpPath(), 'r');
@move_uploaded_file($this->tmp_name, storage($this->name));
var_dump(file_get_contents($this->getTmpPath()));
return '';