修改获取的错误类

This commit is contained in:
wangxiaowei 2024-09-02 10:20:34 +08:00
parent 0fca7a0b3d
commit 534b110cee

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