payInfo->status = PayCode::FINISH_PAY; $this->payInfo->wx_transaction_id = $this->callbackData['transaction_id']; $this->payInfo->notify_json = json_encode($this->callbackData); if (!$this->orderInfo->save()) { $this->log->debug(__CLASS__.':Function:manageWxOrder:更新充值订单的状态失败:'.$this->payInfo->id); throw new ErrException('更新充值订单的状态失败'); } } }