update: mgate sdk

This commit is contained in:
tokumeikoi 2022-01-06 03:22:14 +08:00
parent da51d267e2
commit 1bcffc1dd6

View File

@ -50,6 +50,7 @@ class MGate {
$params['sign'] = md5($str);
$curl = new Curl();
$curl->setUserAgent('MGate');
$curl->setOpt(CURLOPT_SSL_VERIFYPEER, 0);
$curl->post($this->config['mgate_url'] . '/v1/gateway/fetch', http_build_query($params));
$result = $curl->response;
if (!$result) {