|
@@ -176,6 +176,7 @@ class Wechat
|
|
|
}
|
|
|
}
|
|
|
$this->postxml = $array[1];
|
|
|
+ $this->appid = $array[2];
|
|
|
} else {
|
|
|
$this->postxml = $postStr;
|
|
|
}
|
|
@@ -2129,9 +2130,11 @@ class Prpcrypt
|
|
|
print $e;
|
|
|
return array(ErrorCode::$IllegalBuffer, null);
|
|
|
}
|
|
|
- if ($from_appid != $appid)
|
|
|
- return array(ErrorCode::$ValidateAppidError, null);
|
|
|
- return array(0, $xml_content);
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ return array(0, $xml_content, $from_appid);
|
|
|
|
|
|
}
|
|
|
|