作者 邓超

x

@@ -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);