...
|
...
|
@@ -130,13 +130,8 @@ class PaymentModel |
|
|
|
|
|
// 无需付款
|
|
|
if (isset($order["payment_amount"]) && $order["payment_amount"] == 0) {
|
|
|
|
|
|
// ERP提交订单状态
|
|
|
PayData::submitOrderStatus($orderCode, 0, '', '', 0, '', '', '');
|
|
|
|
|
|
// 更新订单的状态
|
|
|
PayData::updateOrderStatus($order['order_id'], $uid, 0, 'Y', '');
|
|
|
|
|
|
//更新订单状态
|
|
|
PayData::pcpayNotify($orderCode, 0, 0);
|
|
|
$result['notNeedPay'] = true;
|
|
|
break;
|
|
|
}
|
...
|
...
|
@@ -332,7 +327,6 @@ class PaymentModel |
|
|
$firstGoods = current($orderData['order_goods']);
|
|
|
self::$code = array(
|
|
|
'code' => 200,
|
|
|
'message' => '支付成功,请等待发货',
|
|
|
'orderNum' => $orderData['order_code'],
|
|
|
'amount' => $orderData['payment_amount'],
|
|
|
'address' => $orderData['address'],
|
...
|
...
|
|