Sfoglia il codice sorgente

refactor(api): 更新 Weather 控制器

刘忠健 2 giorni fa
parent
commit
86180f0483
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      api/app/api/controller/Weather.php

+ 1 - 0
api/app/api/controller/Weather.php

@@ -15,6 +15,7 @@ class Weather extends Base
         //清远 101281301
         //北京 101010100
         //2025年1月22日09:36:50 升级php openssl方法:https://www.quyu.net/info/1824.html
+        // https://www.weather.com.cn/weather/10128020601A.shtml
         $cityNo = input("city", "101280206");
         $url = "https://www.weather.com.cn/weather/" . $cityNo . ".shtml";
 //        $ql=QueryList::getInstance()->get($url);