修改本地存储路径
This commit is contained in:
parent
59774e7958
commit
7152661210
10
catch/wechat/controller/Graphic.php
Normal file
10
catch/wechat/controller/Graphic.php
Normal 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 ]
|
||||||
|
// +----------------------------------------------------------------------
|
10
catch/wechat/repository/WechatGraphicRepository.php
Normal file
10
catch/wechat/repository/WechatGraphicRepository.php
Normal 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 ]
|
||||||
|
// +----------------------------------------------------------------------
|
@ -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' => [
|
||||||
// 磁盘类型
|
// 磁盘类型
|
||||||
|
Loading…
x
Reference in New Issue
Block a user