正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
@@ -154,8 +154,8 @@ class Index extends Controller | @@ -154,8 +154,8 @@ class Index extends Controller | ||
154 | * @time 2022/11/21 14:03 | 154 | * @time 2022/11/21 14:03 |
155 | */ | 155 | */ |
156 | private function request($url,$data=[]){ | 156 | private function request($url,$data=[]){ |
157 | -// $url = 'https://oa.shopk.com/api/shopk/'.$url; | ||
158 | - $url = 'http://local.oa.shopk.com/api/shopk/'.$url; | 157 | + $url = 'https://oa.shopk.com/api/shopk/'.$url; |
158 | +// $url = 'http://local.oa.shopk.com/api/shopk/'.$url; | ||
159 | $ch = curl_init(); | 159 | $ch = curl_init(); |
160 | curl_setopt($ch, CURLOPT_TIMEOUT, 30); | 160 | curl_setopt($ch, CURLOPT_TIMEOUT, 30); |
161 | curl_setopt($ch, CURLOPT_URL, $url); | 161 | curl_setopt($ch, CURLOPT_URL, $url); |
-
请 注册 或 登录 后发表评论