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'];