From aa9d9774d4fe16165c8b512d79c9e208438a252b Mon Sep 17 00:00:00 2001 From: Anyon Date: Mon, 4 Nov 2019 18:57:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=96=87=E4=BB=B6=E4=B8=8A?= =?UTF-8?q?=E4=BC=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/admin/controller/api/Upload.php | 15 +++++++++++++-- .../think-library/src/storage/LocalStorage.php | 2 +- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/app/admin/controller/api/Upload.php b/app/admin/controller/api/Upload.php index 567054230..cd4c3143a 100644 --- a/app/admin/controller/api/Upload.php +++ b/app/admin/controller/api/Upload.php @@ -1,9 +1,20 @@ build() . '?s=admin/plugs/upload'; + return url('@')->build() . '?s=admin/upload/file'; } } \ No newline at end of file