|
|
@@ -197,7 +197,7 @@ class PaymentLogic extends BaseLogic
|
|
|
|
|
|
if ($order['order_amount'] == 0) {
|
|
|
PayNotifyLogic::handle($from, $order['sn']);
|
|
|
- return ['sn' => $order['sn']];
|
|
|
+ return ['sn' => $order['sn'],'need_pay'=>0];
|
|
|
}
|
|
|
|
|
|
$payService = null;
|
|
|
@@ -221,6 +221,7 @@ class PaymentLogic extends BaseLogic
|
|
|
if (false === $result && !self::hasError()) {
|
|
|
self::setError($payService->getError());
|
|
|
}
|
|
|
+ $result['need_pay'] = 1;
|
|
|
return $result;
|
|
|
}
|
|
|
|