diff --git a/home/controllers/h5/market/sylive/Notify.php b/home/controllers/h5/market/sylive/Notify.php index 4eb0d45a..0f24b84d 100644 --- a/home/controllers/h5/market/sylive/Notify.php +++ b/home/controllers/h5/market/sylive/Notify.php @@ -22,8 +22,7 @@ class Notify extends CI_Controller { $input = file_get_contents("php://input"); debug_log("[input] ". __FUNCTION__ . "# $input:" . json_encode($input,JSON_UNESCAPED_UNICODE), $this->log_file,$this->log_dir); $result = $WxPayNotifyResults->FromXml($input); - $data = $result->GetValues(); - $this->mch_id = $data['mch_id']; + $this->mch_id = $result['mch_id']; $config = $this->market_sylive_activity_model->pay_config($this->mch_id); if($config && file_exists($config)){ require_once $config;