oss
parent
a1b732eeb5
commit
b8d17bac34
|
|
@ -40,7 +40,7 @@ class SettingSpecs extends AbstractTool
|
|||
{
|
||||
$form = SettingSpuSpecs::make()->payload(['spu_id'=>$this->getKey()]);
|
||||
return Modal::make()
|
||||
->lg()
|
||||
->xl()
|
||||
->title($this->title())
|
||||
->body($form)
|
||||
->button($this->html());
|
||||
|
|
|
|||
|
|
@ -118,8 +118,8 @@ class OssCopy extends Command
|
|||
if ($url) {
|
||||
$config = config('filesystems.disks.aliyun');
|
||||
$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/';
|
||||
$baseUrl = 'https://jiqu-library.oss-cn-chengdu.aliyuncs.com/';
|
||||
$newUrl = 'https://jiqu-libs.oss-cn-chengdu.aliyuncs.com/';
|
||||
$oldBucket = 'zcs-test';
|
||||
if (Str::startsWith($url, $baseUrl)) {
|
||||
$path = substr($url, strlen($baseUrl));
|
||||
|
|
|
|||
Loading…
Reference in New Issue