OssCopyCommand
parent
a964513f3a
commit
33c30077c2
|
|
@ -135,7 +135,7 @@ class OssCopy extends Command
|
|||
$client = new OssClient(data_get($config, 'access_id'), data_get($config, 'access_key'), data_get($config, 'endpoint'));
|
||||
$baseUrl = 'https://zcs-test.oss-cn-chengdu.aliyuncs.com/';
|
||||
$newUrl = 'https://jiqu-library.oss-cn-chengdu.aliyuncs.com/';
|
||||
$oldBucket = data_get($config, 'bucket');
|
||||
$oldBucket = 'zcs-test';
|
||||
if (Str::startsWith($url, $baseUrl)) {
|
||||
$path = substr($url, strlen($baseUrl));
|
||||
$bucket = 'jiqu-library';
|
||||
|
|
|
|||
Loading…
Reference in New Issue