This commit is contained in:
2021-05-13 18:50:18 +08:00
parent 3084951cd5
commit d05d732611
+1 -3
View File
@@ -64,9 +64,7 @@ class File
throw new Exception('(' . $this->name . ')Failed to open stream: No such file or directory');
}
var_dump($this->getContent());
$this->newName = md5($this->getContent());
// $this->newName = Snowflake::rename($this->getTmpPath());
return $this->newName;