mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 09:39:10 +08:00
update
This commit is contained in:
parent
aac4ce8098
commit
dad9e43114
@ -21,7 +21,7 @@ class PayTaro
|
|||||||
$str = http_build_query($params) . $this->appSecret;
|
$str = http_build_query($params) . $this->appSecret;
|
||||||
$params['sign'] = md5($str);
|
$params['sign'] = md5($str);
|
||||||
$curl = new Curl();
|
$curl = new Curl();
|
||||||
$curl->post('http://api.paytaro.com/v1/gateway/fetch', http_build_query($params));
|
$curl->post('https://api.paytaro.com/v1/gateway/fetch', http_build_query($params));
|
||||||
if ($curl->error) {
|
if ($curl->error) {
|
||||||
abort(500, '接口请求失败');
|
abort(500, '接口请求失败');
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user