This commit is contained in:
root 2020-01-25 23:04:52 +08:00
parent aac4ce8098
commit dad9e43114

View File

@ -21,7 +21,7 @@ class PayTaro
$str = http_build_query($params) . $this->appSecret;
$params['sign'] = md5($str);
$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) {
abort(500, '接口请求失败');
}