From 71526612103d35536994ac9b497b0bd32ef570c9 Mon Sep 17 00:00:00 2001 From: JaguarJack Date: Sun, 28 Jun 2020 08:33:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=9C=AC=E5=9C=B0=E5=AD=98?= =?UTF-8?q?=E5=82=A8=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- catch/wechat/controller/Graphic.php | 10 ++++++++++ catch/wechat/repository/WechatGraphicRepository.php | 10 ++++++++++ config/filesystem.php | 4 ++-- 3 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 catch/wechat/controller/Graphic.php create mode 100644 catch/wechat/repository/WechatGraphicRepository.php diff --git a/catch/wechat/controller/Graphic.php b/catch/wechat/controller/Graphic.php new file mode 100644 index 0000000..ef90e0a --- /dev/null +++ b/catch/wechat/controller/Graphic.php @@ -0,0 +1,10 @@ + [ 'local' => [ 'type' => 'local', - 'root' => app()->getRuntimePath() . 'storage', - 'domain' => '', + 'root' => app()->getRootPath() . 'public/images', + 'domain' => env('API_URL'), ], 'public' => [ // 磁盘类型