mirror of
https://github.com/v2board/v2board.git
synced 2024-11-13 02:59:10 +08:00
update: payment service update
This commit is contained in:
parent
e9cd4a1b27
commit
5fde09344c
@ -9,7 +9,6 @@ class WechatPayNative {
|
|||||||
public function __construct($config)
|
public function __construct($config)
|
||||||
{
|
{
|
||||||
$this->config = $config;
|
$this->config = $config;
|
||||||
$this->customResult = '<xml><return_code><![CDATA[SUCCESS]]></return_code><return_msg><![CDATA[OK]]></return_msg></xml>';
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function form()
|
public function form()
|
||||||
@ -57,7 +56,8 @@ class WechatPayNative {
|
|||||||
}
|
}
|
||||||
return [
|
return [
|
||||||
'type' => 0,
|
'type' => 0,
|
||||||
'data' => $response['code_url']
|
'data' => $response['code_url'],
|
||||||
|
'custom_result' => '<xml><return_code><![CDATA[SUCCESS]]></return_code><return_msg><![CDATA[OK]]></return_msg></xml>'
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user