$order_info['order_no'], 'status' => StatusEnum::ENABLED]); if (empty($order)) throw new Exception('订单不存在'); $res = SecondaryCardOrderService::pay($order, $order_info['pay_type']); if ($res === false) throw new Exception(Order::getStaticError()); return true; } catch (Exception $e) { $this->setStaticError($e->getMessage()); return false; } } }