修改本地存储路径

This commit is contained in:
JaguarJack 2020-06-28 08:33:34 +08:00
parent 59774e7958
commit 7152661210
3 changed files with 22 additions and 2 deletions

View File

@ -0,0 +1,10 @@
<?php
// +----------------------------------------------------------------------
// | CatchAdmin [Just Like ]
// +----------------------------------------------------------------------
// | Copyright (c) 2017~2020 http://catchadmin.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( https://github.com/yanwenwu/catch-admin/blob/master/LICENSE.txt )
// +----------------------------------------------------------------------
// | Author: JaguarJack [ njphper@gmail.com ]
// +----------------------------------------------------------------------

View File

@ -0,0 +1,10 @@
<?php
// +----------------------------------------------------------------------
// | CatchAdmin [Just Like ]
// +----------------------------------------------------------------------
// | Copyright (c) 2017~2020 http://catchadmin.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( https://github.com/yanwenwu/catch-admin/blob/master/LICENSE.txt )
// +----------------------------------------------------------------------
// | Author: JaguarJack [ njphper@gmail.com ]
// +----------------------------------------------------------------------

View File

@ -9,8 +9,8 @@ return [
'disks' => [ 'disks' => [
'local' => [ 'local' => [
'type' => 'local', 'type' => 'local',
'root' => app()->getRuntimePath() . 'storage', 'root' => app()->getRootPath() . 'public/images',
'domain' => '', 'domain' => env('API_URL'),
], ],
'public' => [ 'public' => [
// 磁盘类型 // 磁盘类型