feat: 增加订单不存在返回错误
This commit is contained in:
parent
645e95a08e
commit
7ffa50ac7b
@ -485,6 +485,8 @@ class StoreOrderController extends BaseAdminController
|
||||
$item['price'] = $item['cart_info']['price'];
|
||||
return $item;
|
||||
});
|
||||
}else {
|
||||
return $this->fail('订单不存在');
|
||||
}
|
||||
return $this->success('获取成功', $find?->toArray());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user