正在显示
2 个修改的文件
包含
1 行增加
和
2 行删除
| @@ -99,7 +99,6 @@ if (!function_exists('http_get')) { | @@ -99,7 +99,6 @@ if (!function_exists('http_get')) { | ||
| 99 | curl_setopt($ch1, CURLOPT_SSL_VERIFYPEER, false); | 99 | curl_setopt($ch1, CURLOPT_SSL_VERIFYPEER, false); |
| 100 | curl_setopt($ch1, CURLOPT_SSL_VERIFYHOST, false); | 100 | curl_setopt($ch1, CURLOPT_SSL_VERIFYHOST, false); |
| 101 | $access_txt = curl_exec($ch1); | 101 | $access_txt = curl_exec($ch1); |
| 102 | - \Illuminate\Support\Facades\Log::info($access_txt); | ||
| 103 | curl_close($ch1); | 102 | curl_close($ch1); |
| 104 | return json_decode($access_txt, true); | 103 | return json_decode($access_txt, true); |
| 105 | } | 104 | } |
| @@ -73,7 +73,7 @@ class WebSettingLogic extends BaseLogic | @@ -73,7 +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 = $this->user['domain'].'api/updateHtmlNotify?project_id='.$this->user['project_id']; | 75 | $urlStr = $this->user['domain'].'api/updateHtmlNotify?project_id='.$this->user['project_id']; |
| 76 | - http_get($urlStr); | 76 | + $res = http_get($urlStr); |
| 77 | return $this->success(); | 77 | return $this->success(); |
| 78 | } | 78 | } |
| 79 | } | 79 | } |
-
请 注册 或 登录 后发表评论