6
0
Fork 0
release
李静 2021-12-18 17:26:09 +08:00
parent dcf945f0d3
commit 7ecedc43df
1 changed files with 1 additions and 1 deletions

View File

@ -706,7 +706,7 @@ class OrderService
*/
public function paySuccess(string $sn, array $params = []): void
{
$order = Order::where('sn', $sn)->findOrFail();
$order = Order::where('sn', $sn)->firstOrFail();
if (! $order->isPending()) {
throw new BizException('订单状态不是待支付');