1
This commit is contained in:
parent
c808eb2249
commit
fae2df8e69
@ -97,7 +97,11 @@ class UnifiedWeiXin extends BaseSdk {
|
|||||||
error_log($response);
|
error_log($response);
|
||||||
$xml = new \SimpleXMLElement($response);
|
$xml = new \SimpleXMLElement($response);
|
||||||
if ($xml->return_code != 'SUCCESS') {
|
if ($xml->return_code != 'SUCCESS') {
|
||||||
phpcommon\sendError(2, $xml->return_msg);
|
phpcommon\sendError(2, '' .$xml->return_msg);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if ($xml->err_code != 'SUCCESS') {
|
||||||
|
phpcommon\sendError(2, '' .$xml->err_code_des);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if ($_REQUEST['unified_trade_type'] == 'MWEB') {
|
if ($_REQUEST['unified_trade_type'] == 'MWEB') {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user