作者 lyh

gx

@@ -101,6 +101,8 @@ if (!function_exists('http_get')) { @@ -101,6 +101,8 @@ if (!function_exists('http_get')) {
101 curl_setopt($ch1, CURLOPT_SSL_VERIFYHOST, false); 101 curl_setopt($ch1, CURLOPT_SSL_VERIFYHOST, false);
102 $access_txt = curl_exec($ch1); 102 $access_txt = curl_exec($ch1);
103 curl_close($ch1); 103 curl_close($ch1);
  104 + var_dump($access_txt);
  105 + die();
104 return json_decode($access_txt, true); 106 return json_decode($access_txt, true);
105 } 107 }
106 } 108 }
@@ -73,10 +73,7 @@ class WebSettingLogic extends BaseLogic @@ -73,10 +73,7 @@ class WebSettingLogic extends BaseLogic
73 } 73 }
74 $updateNotifyModel->edit(['status'=>1],['project_id'=>$this->user['project_id'],'status'=>0]); 74 $updateNotifyModel->edit(['status'=>1],['project_id'=>$this->user['project_id'],'status'=>0]);
75 $urlStr = 'https://'.$this->user['domain'].'/api/updateHtmlNotify?project_id='.$this->user['project_id']; 75 $urlStr = 'https://'.$this->user['domain'].'/api/updateHtmlNotify?project_id='.$this->user['project_id'];
76 - var_dump($urlStr);  
77 $rs = http_get($urlStr,["charset = UTF-8"]); 76 $rs = http_get($urlStr,["charset = UTF-8"]);
78 - var_dump($rs);  
79 - die();  
80 return $this->success(); 77 return $this->success();
81 } 78 }
82 } 79 }