...
|
...
|
@@ -154,8 +154,8 @@ class Index extends Controller |
|
|
* @time 2022/11/21 14:03
|
|
|
*/
|
|
|
private function request($url,$data=[]){
|
|
|
// $url = 'https://oa.shopk.com/api/shopk/'.$url;
|
|
|
$url = 'http://local.oa.shopk.com/api/shopk/'.$url;
|
|
|
$url = 'https://oa.shopk.com/api/shopk/'.$url;
|
|
|
// $url = 'http://local.oa.shopk.com/api/shopk/'.$url;
|
|
|
$ch = curl_init();
|
|
|
curl_setopt($ch, CURLOPT_TIMEOUT, 30);
|
|
|
curl_setopt($ch, CURLOPT_URL, $url);
|
...
|
...
|
|