From d1f77cc300aab48c115caa4b83cafcba3bcf0a57 Mon Sep 17 00:00:00 2001 From: wangxiaowei Date: Wed, 21 Aug 2024 11:26:28 +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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/controller/File.php b/app/api/controller/File.php index af6ead9d..8eb803b4 100755 --- a/app/api/controller/File.php +++ b/app/api/controller/File.php @@ -67,7 +67,7 @@ class File extends Api $path = self::$APP_UPLOAD_PATH[$post['type']]; // 本地生活商家上传商品 if ($post['type'] === 'local_shop_add' && $post['lstore_id'] > 0) { - $path .= '/' . $post['lstore_id']; + $path .= '/' . $this->user_id . '_' .$post['lstore_id']; } else { return JsonServer::error('缺少参数'); }