作者 lyh

gx

... ... @@ -101,8 +101,6 @@ if (!function_exists('http_get')) {
curl_setopt($ch1, CURLOPT_SSL_VERIFYHOST, false);
$access_txt = curl_exec($ch1);
curl_close($ch1);
var_dump($access_txt);
die();
return json_decode($access_txt, true);
}
}
... ...
... ... @@ -73,7 +73,8 @@ class WebSettingLogic extends BaseLogic
}
$updateNotifyModel->edit(['status'=>1],['project_id'=>$this->user['project_id'],'status'=>0]);
$urlStr = 'https://'.$this->user['domain'].'/api/updateHtmlNotify?project_id='.$this->user['project_id'];
$rs = http_get($urlStr,["charset = UTF-8"]);
$header['charset'] = "UTF-8";
$rs = http_get($urlStr,$header);
return $this->success();
}
}
... ...