- 抖音支持上传到云存储

v6
Chaim 4 years ago
parent d074cb1457
commit aa19995b4a

@ -70,7 +70,7 @@ class StorageService extends Service
if (empty($this->path)) $this->getConfig();
// 判断是否存在
is_dir($this->path) or mkdir($this->path, 0777, true);
return file_put_contents("{$this->path}/{$name}", $this->remotely);
return file_put_contents("{$this->path}{$name}", $this->remotely);
}
/**

Loading…
Cancel
Save