From 534b110cee45b9d99fd18bb2193f333ac7f8a095 Mon Sep 17 00:00:00 2001 From: wangxiaowei Date: Mon, 2 Sep 2024 10:20:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=8E=B7=E5=8F=96=E7=9A=84?= =?UTF-8?q?=E9=94=99=E8=AF=AF=E7=B1=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/shop/controller/goods/Goods.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/shop/controller/goods/Goods.php b/app/shop/controller/goods/Goods.php index a202b195..3d503c06 100755 --- a/app/shop/controller/goods/Goods.php +++ b/app/shop/controller/goods/Goods.php @@ -388,7 +388,7 @@ class Goods extends ShopBase { $result = GoodsLogic::exportData($this->shop_id); if(false === $result) { - return JsonServer::error(OrderLogic::getError() ?: '导出失败'); + return JsonServer::error(GoodsLogic::getError() ?: '导出失败'); } $src = input('server.REQUEST_SCHEME') . '://' . input('server.SERVER_NAME'); $result['url'] = $src . '/uploads/excel/' . $result['url'];