es
yangsai@163.com 7 months ago
parent 78fc830663
commit 263627500f
  1. 4
      app/api/service/recharge/PaySuccess.php

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

Loading…
Cancel
Save