feat: 支付调试
parent
bbc8fc976c
commit
200f31aee9
|
@ -121,7 +121,7 @@ class WeChatPayServer
|
|||
}
|
||||
|
||||
//pc端
|
||||
if ($order_source == Client_::pc) {
|
||||
if (in_array($order_source, [Client_::pc, Client_::api])) {
|
||||
$data = self::getNativeCode($result, $order);
|
||||
}
|
||||
|
||||
|
@ -143,7 +143,7 @@ class WeChatPayServer
|
|||
}
|
||||
|
||||
} catch (Exception $e) {
|
||||
self::$error = '支付失败:' . $e->getMessage();
|
||||
self::$error = '支付失败:' . $e->getMessage().$e->getFile().'--'.$e->getLine();
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue