@@ -65,7 +65,7 @@ class Weather extends Base
foreach ($weather as $key => $value) {
//如果最高温度没包含℃,就加上
if (!strpos($value["max"], "℃")) {
- $weather[$key]["max"] = $weather[$key]["max"] . "℃";
+ $weather[$key]["max"] = $value["max"] . "℃";
}
$res = [