更新为https

This commit is contained in:
flying1008
2022-02-21 14:31:02 +08:00
committed by GitHub
parent d7497b1c00
commit c63e1224ee

View File

@@ -207,7 +207,7 @@ function push_firmware($get_arr){
//$data_string = json_encode($data);
//print_r($data_string);
$url = "http://api.mina.mi.com/remote/ota/v2";
$url = "https://api.mina.mi.com/remote/ota/v2";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);