|
@@ -40,7 +40,10 @@ class Publics extends Api
|
|
|
mkdir($dir, 0700,true);
|
|
|
}
|
|
|
|
|
|
- $ossClient = new OssClient(self::getOneValues('storage_oss_keyid'), self::getOneValues('storage_oss_secret'), self::getOneValues('storage_oss_endpoint'));
|
|
|
+ $ossClient = new OssClient(
|
|
|
+ self::getOneValues('storage_oss_keyid'),
|
|
|
+ self::getOneValues('storage_oss_secret'),
|
|
|
+ self::getOneValues('storage_oss_endpoint'));
|
|
|
$info = $file->move($dir);
|
|
|
$newName = $info->getSaveName();
|
|
|
$storage_type = self::getOneValues('storage_type');
|