|
|
@ -193,7 +193,7 @@ class PaySuccess extends BaseService |
|
|
|
'user_id' => $orderInfo['user_id'], |
|
|
|
'user_id' => $orderInfo['user_id'], |
|
|
|
'money' => $orderInfo['actual_money'], |
|
|
|
'money' => $orderInfo['actual_money'], |
|
|
|
'store_id' => $this->getStoreId(), |
|
|
|
'store_id' => $this->getStoreId(), |
|
|
|
], ['order_no' => $orderInfo['order_no']]); |
|
|
|
], ['order_no' => $orderInfo['order_no']],$orderInfo['store_id']); |
|
|
|
// 将第三方交易记录更新为已支付状态 |
|
|
|
// 将第三方交易记录更新为已支付状态 |
|
|
|
if (in_array($this->method, [PaymentMethodEnum::WECHAT, PaymentMethodEnum::ALIPAY])) { |
|
|
|
if (in_array($this->method, [PaymentMethodEnum::WECHAT, PaymentMethodEnum::ALIPAY])) { |
|
|
|
$this->updateTradeRecord(); |
|
|
|
$this->updateTradeRecord(); |
|
|
|