This commit is contained in:
2021-05-13 18:45:07 +08:00
parent 687fa72199
commit cd98cb905a
+5
View File
@@ -64,6 +64,11 @@ class File
throw new Exception('(' . $this->name . ')Failed to open stream: No such file or directory');
}
$content = file_get_contents($this->getTmpPath());
var_dump($content);
$this->newName = Snowflake::rename($this->getTmpPath());
return $this->newName;
}