|
@@ -14,8 +14,9 @@ class Weather extends Base
|
|
//仁化 101280206
|
|
//仁化 101280206
|
|
//清远 101281301
|
|
//清远 101281301
|
|
//北京 101010100
|
|
//北京 101010100
|
|
|
|
+ //2025年1月22日09:36:50 升级php openssl方法:https://www.quyu.net/info/1824.html
|
|
$cityNo = input("city", "101280206");
|
|
$cityNo = input("city", "101280206");
|
|
- $url = "http://www.weather.com.cn/weather/" . $cityNo . ".shtml";
|
|
|
|
|
|
+ $url = "https://www.weather.com.cn/weather/" . $cityNo . ".shtml";
|
|
// $ql=QueryList::getInstance()->get($url);
|
|
// $ql=QueryList::getInstance()->get($url);
|
|
$options = [
|
|
$options = [
|
|
'headers' => [
|
|
'headers' => [
|