修改获取的错误类
This commit is contained in:
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'];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user