@@ -122,7 +122,7 @@ class TestController extends PublicController
}
//付订金的情况!!
- $currentAmount = $debtPrice > 0 ? bcsub($mainPay, $debtPrice, 2) : $mainPay;
+ $currentAmount = $remainDebtPrice > 0 ? bcsub($mainPay, $remainDebtPrice, 2) : $mainPay;
//使用非在线支付
switch ($payWay) {