Unverified Commit e5eb0e6e authored by wolfcode's avatar wolfcode Committed by GitHub

Update UploadService.php

parent fad86132
......@@ -70,7 +70,7 @@ class UploadService
$endpoint = $config['oss_endpoint'];
$bucket = $config['oss_bucket'];
if ($file->isValid()) {
$object = $this->setFilePath($file, 'blog -static/');
$object = $this->setFilePath($file, 'blog-static/');
try {
$ossClient = new OssClient($accessKeyId, $accessKeySecret, $endpoint);
$_rs = $ossClient->putObject($bucket, $object, file_get_contents($file->getRealPath()));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment