4
0
Fork 0
panliang 2022-08-03 15:02:13 +08:00
parent f050bbf5b5
commit 4b4a79fde7
1 changed files with 6 additions and 6 deletions

View File

@ -32,12 +32,12 @@ class GoodsBrandController extends AdminController
->autoUpload()
->saveFullUrl()
->move('goods/brand');
$form->oss('file')->config([
'accessId' => 'LTAI5tFMaynxgZ9aDMNLxpU9',
'accessKey' => 'pecJA3LX2sQyWxWDMUUb5NhsMe4Czu',
'host' => 'https://zcs-test.oss-cn-chengdu.aliyuncs.com',
'dir' => 'mv',
]);
// $form->oss('file')->config([
// 'accessId' => 'LTAI5tFMaynxgZ9aDMNLxpU9',
// 'accessKey' => 'pecJA3LX2sQyWxWDMUUb5NhsMe4Czu',
// 'host' => 'https://zcs-test.oss-cn-chengdu.aliyuncs.com',
// 'dir' => 'mv',
// ]);
$form->disableResetButton();
$form->disableCreatingCheck();