6
0
Fork 0
panliang 2022-08-12 11:15:46 +08:00
parent a1b732eeb5
commit b8d17bac34
2 changed files with 3 additions and 3 deletions

View File

@ -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());

View File

@ -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));