From 1b34273b3165372e3ef8b4b3e0b26e8c807c3b40 Mon Sep 17 00:00:00 2001 From: wangxiaowei Date: Wed, 21 Aug 2024 10:56:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=AC=E5=9C=B0=E7=94=9F=E6=B4=BB=E5=95=86?= =?UTF-8?q?=E5=93=81=E5=9B=BE=E7=89=87=E4=B8=8A=E4=BC=A0=E5=88=B0=E9=98=BF?= =?UTF-8?q?=E9=87=8C=E4=BA=91OSS?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/controller/File.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/api/controller/File.php b/app/api/controller/File.php index c6a7f434..534f573c 100755 --- a/app/api/controller/File.php +++ b/app/api/controller/File.php @@ -64,13 +64,14 @@ class File extends Api $post = $this->request->post(); if (is_array(self::$APP_UPLOAD_PATH[$post['type']])) { $path = self::$APP_UPLOAD_PATH[$post['type']]; - // 本地生活商家上传商品 if ($post['type'] === 'local_shop_add' && $post['lstore_id'] > 0) { $path .= '/' . $post['lstore_id']; } else { return JsonServer::error('缺少参数'); } + dump($path); + dump($post);die; $result = UploadAliOSS::uploadImage($path); dump($result);die;