|
|
@@ -863,6 +863,9 @@ class OrderController extends BaseController
|
|
|
if ($order->shopId != $this->shopId) {
|
|
|
util::fail('不是你的订单');
|
|
|
}
|
|
|
+ //支付前验证订单有效性
|
|
|
+ OrderService::checkBeforePay($order);
|
|
|
+
|
|
|
$payWay = dict::getDict('payWay', 'balancePay');
|
|
|
\bizHd\order\classes\OrderClass::payAfter($order, $payWay);
|
|
|
$transaction->commit();
|