diff --git a/application/api/controller/Payment.php b/application/api/controller/Payment.php index 51a92216..00dfedca 100644 --- a/application/api/controller/Payment.php +++ b/application/api/controller/Payment.php @@ -354,7 +354,7 @@ class Payment extends Controller } // 3. 查询订单(防止订单不存在) - $order = Db::name('vs_user_recharge')->where('order_no', $orderNo)->find(); + $order = Db::name('vs_user_recharge')->where('order_sn', $orderNo)->find(); if (!$order) { return V(0, '订单不存在'); }